Skip to content

Commit

Permalink
fix resize parameter passed to sips to be the requested size, see fyn…
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicalTux committed Nov 3, 2020
1 parent a5df8f1 commit 899b2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fyne/commands/package-mobile.go
Expand Up @@ -34,6 +34,6 @@ func (p *packager) packageIOS() error {
}

func copyResizeIcon(size, dir string) error {
cmd := exec.Command("sips", "-o", dir+"/Icon_"+size+".png", "-Z", "120", dir+"/Icon.png")
cmd := exec.Command("sips", "-o", dir+"/Icon_"+size+".png", "-Z", size, dir+"/Icon.png")
return cmd.Run()
}

0 comments on commit 899b2ab

Please sign in to comment.