This commit is contained in:
joshaber 2015-12-28 13:11:33 -05:00
parent 8ac72db0b2
commit 11180cea1c

View File

@ -73,13 +73,13 @@ function bootstrap() {
var dedupeApmCommand = apmPath + ' dedupe' + apmFlags;
var electronVersion = require('../package.json').electronVersion;
var moduleInstallOptions = {env: _.extend({}, process.env,
var moduleInstallOptions = {env: _.extend({}, process.env, {
// `node-pre-gyp` will look for these when determining which binary to
// download or how to rebuild.
npm_config_target: electronVersion,
npm_config_runtime: 'electron',
npm_config_disturl: 'https://atom.io/download/atom-shell'
)}
})}
if (process.argv.indexOf('--no-quiet') === -1) {
buildInstallCommand += ' --loglevel error';