Skip to content

Commit

Permalink
Add electron version to framework
Browse files Browse the repository at this point in the history
  • Loading branch information
groundwater committed Aug 24, 2018
1 parent e6e3ccf commit dfb4265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD.gn
Expand Up @@ -494,7 +494,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
Expand Down
2 changes: 2 additions & 0 deletions atom/common/resources/mac/Info.plist
Expand Up @@ -12,5 +12,7 @@
<string>FMWK</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>Version</key>
<string>${ELECTRON_VERSION}</string>
</dict>
</plist>

0 comments on commit dfb4265

Please sign in to comment.