repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated Doxyfile to include __cplusplus in the preprocessor args and optimise for...
[deb_libcec.git]
/
support
/
create-installer.bat
diff --git
a/support/create-installer.bat
b/support/create-installer.bat
index eefd7db594f84f9205a1ae06ec58999d7ffcc0c0..d9f6a579d3b3a20d8586250000f3633716b199f3 100644
(file)
--- a/
support/create-installer.bat
+++ b/
support/create-installer.bat
@@
-1,5
+1,7
@@
@echo off
@echo off
+set EXITCODE=1
+
rem Check for NSIS
IF EXIST "%ProgramFiles%\NSIS\makensis.exe" (
set NSIS="%ProgramFiles%\NSIS\makensis.exe"
rem Check for NSIS
IF EXIST "%ProgramFiles%\NSIS\makensis.exe" (
set NSIS="%ProgramFiles%\NSIS\makensis.exe"
@@
-127,8
+129,14
@@
IF EXIST "..\support\private\sign-binary.cmd" (
CALL ..\support\private\sign-binary.cmd ..\build\libCEC-installer.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
GOTO EXIT
:NOSDK10
@@
-157,3
+165,9
@@
del /s /f /q ..\build\x64
rmdir ..\build\x64
cd ..\support
rmdir ..\build\x64
cd ..\support
+IF "%1%"=="" (
+ echo. exitcode = %EXITCODE%
+) ELSE (
+ exit %EXITCODE%
+)
+