Skip to content

Commit

Permalink
fix: not found ipa icon image
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Sep 14, 2024
1 parent 9a71736 commit f1c7cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ipa/ipa.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func parseIconAssets(assetFile *zip.File) (image.Image, error) {

var img image.Image
err = a.ImageWalker(func(name string, i image.Image) (end bool) {
if strings.Contains(name, "Icon") {
if strings.Contains(strings.ToLower(name), "icon") {
img = i
return true
}
Expand Down

0 comments on commit f1c7cef

Please sign in to comment.