It would be nice if the electron_custom_version option
|
process.env.ELECTRON_CUSTOM_VERSION || artifactDetails.version, |
would also be searched for in the env vars set by the npm_config or npm_package_config similar to the other env var options
|
process.env[`NPM_CONFIG_ELECTRON_${lowerName.toUpperCase()}`] || |
|
process.env[`npm_config_electron_${lowerName}`] || |
|
process.env[`npm_package_config_electron_${lowerName}`] || |
|
process.env[`ELECTRON_${lowerName.toUpperCase()}`] || |
|
options[name] || |
|
defaultValue |