mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Consolidate squirrel update code
This commit is contained in:
@@ -15,8 +15,8 @@ process.on 'uncaughtException', (error={}) ->
|
||||
|
||||
start = ->
|
||||
if process.platform is 'win32'
|
||||
handleSquirrelEvents = require './squirrel-events'
|
||||
return if handleSquirrelEvents()
|
||||
SquirrelUpdate = require './squirrel-update'
|
||||
return if SquirrelUpdate.handleStartupEvent()
|
||||
|
||||
args = parseCommandLine()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user