Revert parseCommandLine movement

This commit is contained in:
Kevin Sawicki
2015-11-03 15:22:15 -08:00
parent 77f9e9e5c5
commit 2a7dc6c8de

View File

@@ -12,14 +12,15 @@ yargs = require 'yargs'
console.log = require 'nslog'
start = ->
args = parseCommandLine()
args.atomHome = setupAtomHome()
setupAtomHome()
setupCompileCache()
return if handleStartupEventWithSquirrel()
# NB: This prevents Win10 from showing dupe items in the taskbar
app.setAppUserModelId('com.squirrel.atom.atom')
parseCommandLine()
addPathToOpen = (event, pathToOpen) ->
event.preventDefault()
args.pathsToOpen.push(pathToOpen)