feat: Add electron version to framework (#14296)

* Add electron version to framework

* Update Info.plist
This commit is contained in:
Jacob Groundwater 2018-08-29 10:31:45 -07:00 committed by Shelley Vohr
parent 2b4dbe409f
commit d9a7fee79a
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -12,5 +12,7 @@
<string>FMWK</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>CFBundleVersion</key>
<string>${ELECTRON_VERSION}</string>
</dict>
</plist>