iw7-mod/installer/compile.bat

21 lines
262 B
Batchfile

@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