Don't quit and install in test mode

This commit is contained in:
Kevin Sawicki
2015-05-13 15:58:14 -07:00
parent 2bbdd9446d
commit 6c81f7233b

View File

@@ -83,7 +83,7 @@ class AutoUpdateManager
autoUpdater.checkForUpdates() unless @testMode
install: ->
autoUpdater.quitAndInstall()
autoUpdater.quitAndInstall() unless @testMode
onUpdateNotAvailable: =>
autoUpdater.removeListener 'error', @onUpdateError