mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Force 32-bit binaries from node-pre-gyp.
This commit is contained in:
@@ -89,6 +89,11 @@ function bootstrap() {
|
||||
// proper binaries.
|
||||
var electronVersion = require('../package.json').electronVersion;
|
||||
moduleInstallEnv.npm_config_target = electronVersion;
|
||||
|
||||
// Atom on Windows is always 32-bit currently.
|
||||
if (process.platform === 'win32') {
|
||||
moduleInstallEnv.npm_config_target_arch = 'ia32';
|
||||
}
|
||||
var moduleInstallOptions = {env: moduleInstallEnv};
|
||||
|
||||
if (process.argv.indexOf('--no-quiet') === -1) {
|
||||
|
||||
Reference in New Issue
Block a user