Wait 5 seconds before downloading update.

And don't show 'check for updates' menu item on launch.
This commit is contained in:
probablycorey
2014-02-12 16:17:36 -08:00
parent 88b214067f
commit 5461de5856
2 changed files with 2 additions and 2 deletions

View File

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