Skip to content

Commit

Permalink
Fix more deprecated ImageMagick invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
printfn committed Oct 23, 2024
1 parent 0387ac1 commit 01c0105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows-msix/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ if (Test-Path $PSScriptRoot\fend-windows-x64.msix) {
mkdir $PSScriptRoot\build
Copy-Item $PSScriptRoot\..\target\release\fend.exe $PSScriptRoot\build
(Get-Content $PSScriptRoot\AppxManifest.xml).replace('$FEND_VERSION', $Env:FEND_VERSION) | Set-Content $PSScriptRoot\build\AppxManifest.xml
& magick convert -resize 44x44 $PSScriptRoot\..\icon\icon.svg $PSScriptRoot\build\fend-icon-44.png
& magick convert -resize 150x150 $PSScriptRoot\..\icon\icon.svg $PSScriptRoot\build\fend-icon-150.png
& magick $PSScriptRoot\..\icon\icon.svg -resize 44x44 $PSScriptRoot\build\fend-icon-44.png
& magick $PSScriptRoot\..\icon\icon.svg -resize 150x150 $PSScriptRoot\build\fend-icon-150.png

& "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\makeappx.exe" `
pack `
Expand Down

0 comments on commit 01c0105

Please sign in to comment.