diff --git a/BUILD.gn b/BUILD.gn index 5fc1bbbf99d19..8182c64d1a9dd 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -526,7 +526,7 @@ if (is_mac) { deps += [ ":electron_crashpad_helper" ] } info_plist = "atom/common/resources/mac/Info.plist" - extra_substitutions = [ "ATOM_BUNDLE_ID=$electron_mac_bundle_id.framework" ] + extra_substitutions = [ "ATOM_BUNDLE_ID=$electron_mac_bundle_id.framework", "ELECTRON_VERSION=$electron_version" ] include_dirs = [ "." ] sources = filenames_gypi.framework_sources diff --git a/atom/common/resources/mac/Info.plist b/atom/common/resources/mac/Info.plist index 7b56a46470ea0..26abfe04ca890 100644 --- a/atom/common/resources/mac/Info.plist +++ b/atom/common/resources/mac/Info.plist @@ -12,5 +12,7 @@ FMWK NSSupportsAutomaticGraphicsSwitching + CFBundleVersion + ${ELECTRON_VERSION}