diff --git a/npm/install.js b/npm/install.js index b202dc00e4..1d612272e5 100755 --- a/npm/install.js +++ b/npm/install.js @@ -8,6 +8,10 @@ var fs = require('fs') var platform = os.platform() var arch = os.arch() +if ('win32' === platform) { + // 64-bit is not available under windows. + arch = 'ia32'; +} var version = '0.19.5' var name = 'atom-shell-v'+version+'-'+platform+'-'+arch+'.zip' var url = 'https://github.com/atom/atom-shell/releases/download/v'+version+'/atom-shell-v'+version+'-'+platform+'-'+arch+'.zip'