Permalink
Browse files

Fix app icon for Mach-O target

Add a package action to the mcp file to copy anypiaapp.icns into
Contents/Resources, and an #if to the plc so it gets used for Mach-O
  • Loading branch information...
mrpippy committed May 28, 2015
1 parent f26ade5 commit 9496cecdc3530a70f5a92815de6b25afb13865e2
@@ -29,7 +29,12 @@ plist {
key "CFBundleDevelopmentRegion" value string "English"
key "CFBundleInfoDictionaryVersion" value string "6.0"
+#if __MACH__ // __MWMACHLINKER__ doesn't work for some reason
+ // The Mach-O target copies anypiaapp.icns into Contents/Resources
+ key "CFBundleIconFile" value string "anypiaapp.icns"
+#else
key "CFBundleIconFile" value string "128"
+#endif
key "LSPrefersCarbon" value boolean true
key "CFBundleDocumentTypes" value array [
dictionary {
Binary file not shown.

0 comments on commit 9496cec

Please sign in to comment.