Skip to content

Commit

Permalink
Fix imagemagick deprecated option
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Jul 22, 2024
1 parent de199c3 commit 83ac9a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/build_exe.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set RESPATH=%CLONEDIR%\resources
for %%s in (16 24 32 48 128 256) do (
%INKSCAPE_PATH% "%RESPATH%\%LIBNAME%.svg" -o "%RESPATH%\tmp-%%s.png" -w %%s -h %%s
)
magick convert "%RESPATH%\tmp-*.png" "%RESPATH%\%LIBNAME%.ico"
magick "%RESPATH%\tmp-*.png" "%RESPATH%\%LIBNAME%.ico"
del "%RESPATH%\tmp-*.png"

@REM Building executable
Expand Down
4 changes: 2 additions & 2 deletions scripts/build_installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ set WIXPATH=%ROOTPATH%\wix
echo Generating images for MSI installer...
set INKSCAPE_PATH="C:\Program Files\Inkscape\bin\inkscape.exe"
%INKSCAPE_PATH% "%RSCPATH%\WixUIDialog.svg" -o "temp.png" -w 493 -h 312
magick convert "temp.png" bmp3:"%WIXPATH%\dialog.bmp"
magick "temp.png" bmp3:"%WIXPATH%\dialog.bmp"
%INKSCAPE_PATH% "%RSCPATH%\WixUIBanner.svg" -o "temp.png" -w 493 -h 58
magick convert "temp.png" bmp3:"%WIXPATH%\banner.bmp"
magick "temp.png" bmp3:"%WIXPATH%\banner.bmp"
del "temp.png"

echo Generating .wxs file for MSI installer...
Expand Down

0 comments on commit 83ac9a6

Please sign in to comment.