From: Cheng Zhao Date: Tue, 14 May 2013 07:50:33 +0000 (+0800) Subject: Use Atom's icon. X-Git-Tag: v0.1.0~184 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=667384ef744dc1b8b4d625b40899628acbab41fd;p=electron.git Use Atom's icon. --- diff --git a/atom.gyp b/atom.gyp index 8064ced5..eef56413 100644 --- 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', @@ -126,6 +129,9 @@ 'sources': [ '<@(app_sources)', ], + 'mac_bundle_resources': [ + '<@(bundle_sources)', + ], 'include_dirs': [ '.', ], diff --git a/browser/mac/Info.plist b/browser/mac/Info.plist index 0056061c..07bc6328 100644 --- a/browser/mac/Info.plist +++ b/browser/mac/Info.plist @@ -6,9 +6,11 @@ com.github.atom CFBundleName ${PRODUCT_NAME} + CFBundleIconFile + atom.icns NSMainNibFile MainMenu NSPrincipalClass - BRYApplication + AtomApplication diff --git a/browser/mac/atom.icns b/browser/mac/atom.icns new file mode 100644 index 00000000..2713bf8f Binary files /dev/null and b/browser/mac/atom.icns differ