diff --git a/lib/motion/project/template/osx/config.rb b/lib/motion/project/template/osx/config.rb index 33ac788c..d06fd58a 100644 --- a/lib/motion/project/template/osx/config.rb +++ b/lib/motion/project/template/osx/config.rb @@ -145,22 +145,14 @@ module Motion; module Project; File.expand_path(File.join('~/Library/Containers', identifier, "Data/rubymotion-repl-#{Time.now.to_i}")) end - def generic_info_plist - super.merge({ + def info_plist_data(platform) + Motion::PropertyList.to_s({ 'NSHumanReadableCopyright' => copyright, 'NSPrincipalClass' => 'NSApplication', 'CFBundleIconFile' => (icon or ''), 'LSMinimumSystemVersion' => deployment_target, 'LSApplicationCategoryType' => (@category.start_with?('public.app-category') ? @category : 'public.app-category.' + @category) - }) - end - - def merged_info_plist - generic_info_plist.merge(dt_info_plist).merge(info_plist) - end - - def info_plist_data(platform) - Motion::PropertyList.to_s(merged_info_plist) + }.merge(generic_info_plist).merge(dt_info_plist).merge(info_plist)) end def strip_args @@ -238,17 +230,17 @@ EOS end main_txt << <