mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: allow getOutDir cli argument (#21545)
This commit is contained in:
@@ -14,7 +14,7 @@ if (!process.mainModule) {
|
||||
}
|
||||
|
||||
async function main () {
|
||||
const nodeDir = path.resolve(BASE, `out/${utils.getOutDir(true)}/gen/node_headers`)
|
||||
const nodeDir = path.resolve(BASE, `out/${utils.getOutDir({ shouldLog: true })}/gen/node_headers`)
|
||||
const env = Object.assign({}, process.env, {
|
||||
npm_config_nodedir: nodeDir,
|
||||
npm_config_msvs_version: '2019',
|
||||
|
||||
Reference in New Issue
Block a user