Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ArKaNeMaN committed Dec 1, 2023
1 parent 0b47cf4 commit bf1b981
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ if "%PACKAGE_ASSETS_USE%" == "1" (

echo Compress files to ZIP archive...
call :del %ZIP_FILE%
call :zip %BUILD_ROOT_PATH%/*, %ZIP_FILE%
cd %BUILD_ROOT_PATH%
call :zip ./* %ZIP_FILE%
cd %ROOT_PATH%

echo Cleanup temp files...
call :deldir %BUILD_ROOT_PATH%
Expand All @@ -90,5 +92,6 @@ exit /b
exit /b

:zip
powershell Compress-Archive %~1 %~2 -Force
rem powershell Compress-Archive %~1 %~2 -Force
zip -r9 %~2 ./%~1
exit /b

0 comments on commit bf1b981

Please sign in to comment.