maint: adjust installer compile script for vscode tasks + better error handling
This commit is contained in:
parent
7a3e3bd061
commit
48a4f05e93
@ -1,10 +1,20 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
cd /D "%~dp0"
|
||||||
|
|
||||||
if not exist "build" mkdir "build"
|
if not exist "build" mkdir "build"
|
||||||
|
|
||||||
"tools\makensis.exe" "iw7_Installer.nsi"
|
"tools\makensis.exe" "iw7_Installer.nsi"
|
||||||
|
|
||||||
|
if %ERRORLEVEL% neq 0 (
|
||||||
|
echo.s
|
||||||
|
echo Compilation failed!
|
||||||
|
echo.
|
||||||
|
pause
|
||||||
|
exit /b %ERRORLEVEL%
|
||||||
|
)
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Compiled successfully!
|
echo Compiled successfully!
|
||||||
echo.
|
echo.
|
||||||
|
pause
|
||||||
pause
|
|
||||||
|
Loading…
Reference in New Issue
Block a user