Consolidate squirrel update code

This commit is contained in:
Kevin Sawicki
2014-11-13 15:48:59 -08:00
parent 327e8476dd
commit 7ba47840d8
3 changed files with 48 additions and 48 deletions

View File

@@ -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()