mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
feat: Add electron version to framework (#14296)
* Add electron version to framework * Update Info.plist
This commit is contained in:
committed by
Shelley Vohr
parent
2b4dbe409f
commit
d9a7fee79a
2
BUILD.gn
2
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
|
||||
|
||||
@@ -12,5 +12,7 @@
|
||||
<string>FMWK</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${ELECTRON_VERSION}</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user