mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-18 12:02:19 +08:00
[xcassets] Be sure to remove whitespace from Info.plist icon names.
This commit is contained in:
@@ -65,7 +65,7 @@ module Motion; module Project;
|
||||
path = app_icons_info_plist_path(platform)
|
||||
if File.exist?(path)
|
||||
content = `/usr/libexec/PlistBuddy -c 'Print :CFBundleIcons:CFBundlePrimaryIcon:CFBundleIconFiles' "#{path}"`.strip
|
||||
self.icons = content.split("\n")[1..-2]
|
||||
self.icons = content.split("\n")[1..-2].map(&:strip)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user