maint: adjust installer compile script for vscode tasks + better error handling

This commit is contained in:
Ahrimdon 2024-08-31 20:41:00 -04:00
parent 7a3e3bd061
commit 48a4f05e93

View File

@ -1,10 +1,20 @@
@echo off
cd /D "%~dp0"
if not exist "build" mkdir "build"
"tools\makensis.exe" "iw7_Installer.nsi"
if %ERRORLEVEL% neq 0 (
echo.s
echo Compilation failed!
echo.
pause
exit /b %ERRORLEVEL%
)
echo.
echo Compiled successfully!
echo.
pause
pause