Invoke quitAndInstall from quiteAndUpdate callback

This commit is contained in:
Kevin Sawicki
2014-11-13 09:39:16 -08:00
parent 119fc7f4f2
commit 9a0414da6f

View File

@@ -66,7 +66,7 @@ class AutoUpdater
releaseName: "Atom #{latestRelease.version}"
releaseDate: ''
updateUrl: 'https://atom.io'
quitAndUpdate: => @quitAndInstall
quitAndUpdate: => @quitAndInstall()
else
console.log "You're on the latest version!"
emit 'update-not-available'