Use Atom's icon.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 14 May 2013 07:50:33 +0000 (15:50 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 14 May 2013 07:50:33 +0000 (15:50 +0800)
atom.gyp
browser/mac/Info.plist
browser/mac/atom.icns [new file with mode: 0644]

index 8064ced..eef5641 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -5,6 +5,9 @@
     'app_sources': [
       'app/atom_main.cc',
     ],
+    'bundle_sources': [
+      'browser/mac/atom.icns',
+    ],
     'coffee_sources': [
       'browser/api/lib/app.coffee',
       'browser/api/lib/atom_delegate.coffee',
       'sources': [
         '<@(app_sources)',
       ],
+      'mac_bundle_resources': [
+        '<@(bundle_sources)',
+      ],
       'include_dirs': [
         '.',
       ],
index 0056061..07bc632 100644 (file)
@@ -6,9 +6,11 @@
        <string>com.github.atom</string>
        <key>CFBundleName</key>
        <string>${PRODUCT_NAME}</string>
+  <key>CFBundleIconFile</key>
+  <string>atom.icns</string>
        <key>NSMainNibFile</key>
        <string>MainMenu</string>
        <key>NSPrincipalClass</key>
-       <string>BRYApplication</string>
+       <string>AtomApplication</string>
 </dict>
 </plist>
diff --git a/browser/mac/atom.icns b/browser/mac/atom.icns
new file mode 100644 (file)
index 0000000..2713bf8
Binary files /dev/null and b/browser/mac/atom.icns differ