mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Comment why.
This commit is contained in:
@@ -76,6 +76,8 @@ function bootstrap() {
|
||||
moduleInstallEnv[e] = process.env[e];
|
||||
}
|
||||
|
||||
// Set our target (Electron) version so that node-pre-gyp can download the
|
||||
// proper binaries.
|
||||
var electronVersion = require('../package.json').electronVersion;
|
||||
moduleInstallEnv.npm_config_target = electronVersion;
|
||||
var moduleInstallOptions = {env: moduleInstallEnv};
|
||||
|
||||
Reference in New Issue
Block a user