21 lines
261 B
Batchfile
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
|