diff --git a/electron-vue/compile-wrapper.js b/electron-vue/compile-wrapper.js index 0d59294d..70e66d94 100644 --- a/electron-vue/compile-wrapper.js +++ b/electron-vue/compile-wrapper.js @@ -22,7 +22,7 @@ module.exports = function (config) { writeFileSync(join(__dirname, '..', 'src', 'version.js'), `// This file is automatically generated by electron-vue/compile-wrapper.js\nexport default "${version}-${revision}";\n`); const keys = {HAS_KEYS: true}; - for (const key of ['SWAPZONE_API_KEY', 'EXOLIX_AUTHORIZATION', 'CHANGENOW_TOKEN', 'CHANGENOW_API_KEY']) { + for (const key of ['SWAPZONE_API_KEY', 'EXOLIX_AUTHORIZATION', 'CHANGENOW_API_KEY']) { keys[key] = process.env[key] || ''; if (!keys[key]) keys.HAS_KEYS = false; }