mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
Use installUpdate
This commit is contained in:
@@ -13,7 +13,7 @@ class AutoUpdater
|
||||
shellAutoUpdater.quitAndInstall()
|
||||
return
|
||||
|
||||
SquirrelUpdate.spawn ['--update', @updateUrl], (error) =>
|
||||
@installUpdate (error) ->
|
||||
return if error?
|
||||
|
||||
SquirrelUpdate.spawn ['--processStart', 'atom.exe'], ->
|
||||
|
||||
Reference in New Issue
Block a user