Check for updates 10 seconds after atom launches

This commit is contained in:
probablycorey
2014-02-12 16:07:41 -08:00
parent a99c404a78
commit 5304afd69a

View File

@@ -139,7 +139,9 @@ class AtomApplication
@applicationMenu.showInstallUpdateItem(false)
@applicationMenu.showCheckForUpdateItem(true)
autoUpdater.checkForUpdates()
# Check for update after Atom has fully started and the menus are created
setTimeout((-> autoUpdater.checkForUpdates()), 10000)
checkForUpdate: ->
autoUpdater.once 'update-available', ->