Skip to content

Commit

Permalink
Update build_ci.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Aug 23, 2024
1 parent d0c737f commit c7a6c69
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/scripts/build_ci.bat
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ REM copy "%SDK_DIR%\bin\Qt5Svg.dll" "%OUTPUT_DIR%\"
REM copy "%SDK_DIR%\plugins\imageformats\qsvg.dll" "%OUTPUT_DIR%\imageformats\"

REM enable default portable mode
type NUL > "%OUTPUT_DIR%\portable.txt"
echo "Delete this file if you want to disable portable mode" > "%OUTPUT_DIR%\portable.txt"

REM zip it up
cd "%CWD%\build\output"
7z a -mx9 friction-svgo-windows-x64.7z svgo-win.exe
if not exist "svgo-license.txt" (
curl -OL "https://raw.githubusercontent.com/friction2d/friction-svgo/main/svgo-license.txt"
)
7z a -mx9 friction-svgo-windows-x64.7z svgo-win.exe svgo-license.txt
7z a -mx9 friction-%VERSION%-windows-x64.7z friction-%VERSION%

0 comments on commit c7a6c69

Please sign in to comment.