Use installUpdate

This commit is contained in:
Kevin Sawicki
2014-11-13 16:57:01 -08:00
parent 7f32c9a3f7
commit a6fa2ff30a

View File

@@ -13,7 +13,7 @@ class AutoUpdater
shellAutoUpdater.quitAndInstall()
return
SquirrelUpdate.spawn ['--update', @updateUrl], (error) =>
@installUpdate (error) ->
return if error?
SquirrelUpdate.spawn ['--processStart', 'atom.exe'], ->