s1-mod/installer/compile.bat
2025-02-20 08:13:03 -05:00

21 lines
261 B
Batchfile

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