Skip to content

Commit 8e47ae9

Browse files
Added process.versions.stack
1 parent d85503d commit 8e47ae9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build/templates/electron_version.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define ELECTRON_MAJOR_VERSION $major
99
#define ELECTRON_MINOR_VERSION $minor
1010
#define ELECTRON_PATCH_VERSION $patch
11+
#define STACK_VERSION "v20.0.0-nightly.20220721"
1112
#if $has_prerelease
1213
#define ELECTRON_PRE_RELEASE_VERSION -$prerelease
1314
#endif

shell/common/api/electron_bindings.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ void ElectronBindings::BindTo(v8::Isolate* isolate,
8888
if (dict.Get("versions", &versions)) {
8989
versions.SetReadOnly(ELECTRON_PROJECT_NAME, ELECTRON_VERSION_STRING);
9090
versions.SetReadOnly("chrome", CHROME_VERSION_STRING);
91+
versions.SetReadOnly("stack", STACK_VERSION);
9192
}
9293
}
9394

0 commit comments

Comments
 (0)