@echo off
+set EXITCODE=1
+
rem Check for NSIS
IF EXIST "%ProgramFiles%\NSIS\makensis.exe" (
set NSIS="%ProgramFiles%\NSIS\makensis.exe"
CALL ..\support\private\sign-binary.cmd ..\build\libCEC-installer.exe
)
-echo. The installer can be found here: ..\build\libCEC-installer.exe
+IF "%1%"=="" (
+ echo. The installer can be found here: ..\build\libCEC-installer.exe
+) ELSE (
+ move ..\build\libCEC-installer.exe ..\build\libCEC-%1%-installer.exe
+ echo. The installer can be found here: ..\build\libCEC-%1%-installer.exe
+)
+set EXITCODE=0
GOTO EXIT
:NOSDK10
rmdir ..\build\x64
cd ..\support
+exit %EXITCODE%