From c7a6c6905fb04eb3dfff617e9e76f4362c61880d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Fri, 23 Aug 2024 17:20:18 +0200 Subject: [PATCH] Update build_ci.bat --- src/scripts/build_ci.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/scripts/build_ci.bat b/src/scripts/build_ci.bat index 6074f4ac9..5abb885d5 100644 --- a/src/scripts/build_ci.bat +++ b/src/scripts/build_ci.bat @@ -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%