mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Check for updates 10 seconds after atom launches
This commit is contained in:
@@ -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', ->
|
||||
|
||||
Reference in New Issue
Block a user