Set ELECTRON_VERSION to the current Electron version.

This commit is contained in:
Ash Wilson 2019-03-06 10:39:33 -05:00
parent 2712b1f505
commit c513d1c024
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A

View File

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