Fixed 64-bit windows install
64-bit version is not available under Windows, so install fails with 404 download error. Fixed by patching windows install.
This commit is contained in:
parent
c083acae97
commit
c09c7a2248
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ var fs = require('fs')
|
||||||
|
|
||||||
var platform = os.platform()
|
var platform = os.platform()
|
||||||
var arch = os.arch()
|
var arch = os.arch()
|
||||||
|
if ('win32' === platform) {
|
||||||
|
// 64-bit is not available under windows.
|
||||||
|
arch = 'ia32';
|
||||||
|
}
|
||||||
var version = '0.19.5'
|
var version = '0.19.5'
|
||||||
var name = 'atom-shell-v'+version+'-'+platform+'-'+arch+'.zip'
|
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'
|
var url = 'https://github.com/atom/atom-shell/releases/download/v'+version+'/atom-shell-v'+version+'-'+platform+'-'+arch+'.zip'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue