Don't require 32bit node

This commit is contained in:
Corey Johnson
2014-05-15 14:55:58 -07:00
parent bb9d67a1b1
commit f30c56c237

View File

@@ -10,18 +10,10 @@ if (nodeMajorVersion === 0 && nodeMinorVersion < 10) {
process.exit(1);
}
if (process.platform == 'win32') {
// Make sure it is 32bit node
if (process.arch != 'ia32') {
console.warn("You must run script/bootstrap and script/build with the 32bit version of node");
process.exit(1);
}
// Make sure python2.7 is installed
if (!fs.existsSync('C:\\Python27\\')) {
console.warn("You must have Python 2.7 installed at 'C:\\Python27\\'");
process.exit(1);
}
// Make sure python2.7 is installed
if (process.platform == 'win32' && !fs.existsSync('C:\\Python27\\')) {
console.warn("You must have Python 2.7 installed at 'C:\\Python27\\'");
process.exit(1);
}
var safeExec = require('./utils/child-process-wrapper.js').safeExec;