From b1d10ef4dcc953df6afa0dc1895d594d8f46f313 Mon Sep 17 00:00:00 2001 From: Dave Rael Date: Thu, 22 Oct 2015 09:01:56 -0600 Subject: [PATCH] Revert moving parse of command line to the first line of start function because the move is not necessary without having the code for using a command line parameter to set Atom to portable mode. This belongs on that branch and in that pull request. --- src/browser/main.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/main.coffee b/src/browser/main.coffee index 4a3eec52d..3f768d39b 100644 --- a/src/browser/main.coffee +++ b/src/browser/main.coffee @@ -12,14 +12,14 @@ yargs = require 'yargs' console.log = require 'nslog' start = -> - args = parseCommandLine() - setupAtomHome() setupCompileCache() return if handleStartupEventWithSquirrel() # NB: This prevents Win10 from showing dupe items in the taskbar app.setAppUserModelId('com.squirrel.atom.atom') + + args = parseCommandLine() addPathToOpen = (event, pathToOpen) -> event.preventDefault()