From 5d79b37712d4f452f5da9aa2f25433095fecd1f8 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 28 Jan 2022 14:32:58 +0100 Subject: [PATCH] fix: electron version License: MIT Signed-off-by: Henrique Dias --- src/common/consts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/consts.js b/src/common/consts.js index 392b1bd29..62faf3434 100644 --- a/src/common/consts.js +++ b/src/common/consts.js @@ -6,7 +6,7 @@ module.exports = Object.freeze({ IS_WIN: os.platform() === 'win32', IS_APPIMAGE: typeof process.env.APPIMAGE !== 'undefined', VERSION: packageJson.version, - ELECTRON_VERSION: packageJson.devDependencies.electron, + ELECTRON_VERSION: process.versions.electron, GO_IPFS_VERSION: packageJson.dependencies['go-ipfs'], COUNTLY_KEY: process.env.NODE_ENV === 'development' ? '6b00e04fa5370b1ce361d2f24a09c74254eee382'