Skip to content

Commit

Permalink
fix: ipad icon not found bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyc-z committed Dec 18, 2018
1 parent e10a75e commit 53a4f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parsers/pkg_adapter/ipa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def parse
plist = zip_file.glob('Payload/*.app/Info.plist').first
@plist = plist ? ConfigParser.plist(plist.get_input_stream.read) : {}

entry = zip_file.glob('Payload/*.app/AppIcon[6,4]0x[6,4]0@[2,3]x.png').last
entry = zip_file.glob('Payload/*.app/AppIcon[6,4]0x[6,4]0@*.png').last
if entry
@app_icon = "#{path}/#{entry.name}"
dirname = File.dirname(@app_icon)
Expand Down

0 comments on commit 53a4f80

Please sign in to comment.