Skip to content

Commit

Permalink
Merge pull request #1501 from MagicalTux/fix-sips
Browse files Browse the repository at this point in the history
fix #1498: resize parameter passed to sips to be the requested size
  • Loading branch information
andydotxyz committed Nov 3, 2020
2 parents 4566b50 + 899b2ab commit e20cb62
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 e20cb62

Please sign in to comment.