mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Syntax
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user