Skip to content

Use electron_custom_version set by npm_config or npm_package_config #168

@ghost

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions