mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
Wait 5 seconds before downloading update.
And don't show 'check for updates' menu item on launch.
This commit is contained in:
@@ -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', ->
|
||||
|
||||
Reference in New Issue
Block a user