From c513d1c02418170731f5937c152dc0adf1506020 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Wed, 6 Mar 2019 10:39:33 -0500 Subject: [PATCH] Set ELECTRON_VERSION to the current Electron version. --- script/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/build b/script/build index 7b84a4eff..eb595c13c 100755 --- a/script/build +++ b/script/build @@ -57,6 +57,8 @@ process.on('unhandledRejection', function (e) { }) const CONFIG = require('./config') +process.env.ELECTRON_VERSION = CONFIG.appMetadata.electronVersion + let binariesPromise = Promise.resolve() if (!argv.existingBinaries) {