From: Cheng Zhao Date: Tue, 14 Apr 2015 08:09:34 +0000 (+0800) Subject: mac: Generate Info.plist from gyp variables X-Git-Tag: v0.24.0~4^2~11 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e04c58f39853d6cf2c16f644b991054bcb4fc216;p=electron.git mac: Generate Info.plist from gyp variables --- diff --git a/atom.gyp b/atom.gyp index 3d581e05..541cfa32 100644 --- a/atom.gyp +++ b/atom.gyp @@ -2,7 +2,9 @@ 'variables': { 'project_name%': 'atom', 'product_name%': 'Atom', - 'version%': '0.23.0', + 'company_name%': 'GitHub, Inc', + 'company_abbr%': 'github', + 'version%' : '0.23.0', 'atom_source_root': 'CFBundleExecutable ${PRODUCT_NAME} CFBundleIdentifier - com.github.atom-shell + ${ATOM_BUNDLE_ID} CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/atom/common/resources/mac/Info.plist b/atom/common/resources/mac/Info.plist index 1fe8428e..332babe9 100644 --- a/atom/common/resources/mac/Info.plist +++ b/atom/common/resources/mac/Info.plist @@ -3,11 +3,11 @@ CFBundleExecutable - Atom Framework + ${PRODUCT_NAME} Framework CFBundleIdentifier - com.github.AtomFramework + ${ATOM_BUNDLE_ID} CFBundleName - Atom Framework + ${PRODUCT_NAME} Framework CFBundlePackageType FMWK NSSupportsAutomaticGraphicsSwitching diff --git a/atom/renderer/resources/mac/Info.plist b/atom/renderer/resources/mac/Info.plist index f008a1dc..1da2c29f 100644 --- a/atom/renderer/resources/mac/Info.plist +++ b/atom/renderer/resources/mac/Info.plist @@ -2,15 +2,15 @@ - CFBundleIdentifier - com.github.atom-shell.helper - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - LSUIElement - - NSSupportsAutomaticGraphicsSwitching - + CFBundleIdentifier + ${ATOM_BUNDLE_ID} + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + LSUIElement + + NSSupportsAutomaticGraphicsSwitching +