Skip to content

Commit 1cd501a

Browse files
Fix build
1 parent c520903 commit 1cd501a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Build.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo Authors: mah_boi, nikitvs
77
echo.
88

99
:: Check for remove build folder
10-
set "KEEP_ALIVE_BUILD=0"
10+
set "KEEP_BUILD=0"
1111
for %%A in (%*) do (
1212
if /I "%%~A"=="--keep-build" set "KEEP_BUILD=1"
1313
if /I "%%~A"=="-k" set "KEEP_BUILD=1"
@@ -30,7 +30,6 @@ echo.
3030
echo Compilation and linking executables...
3131
cmake --build .\build --config Release --target all -j 4
3232
echo Compilation and linking executables done
33-
echo.
3433

3534
:: Copy translation tools
3635
mkdir build\exe\Resources\Translations\Tools > nul 2> nul
@@ -44,3 +43,6 @@ echo ru.ts -- Translation file example. >> build\exe\Resources\Translatio
4443
:: Add any file to "Logs" folder for the next shipping
4544
mkdir build\exe\Logs >nul 2> nul
4645
echo Do not delete this folder, please. Or program will can not be start. > build\exe\Logs\readme.txt
46+
47+
:: Remove error level code that crashes pipeline
48+
set "ERRORLEVEL=0"

0 commit comments

Comments
 (0)