 pathsToOpen = null
 atomApplication = null
 
-setupNodePath= ->
+
+require('fs').writeFileSync('/Users/corey/Desktop/moo.txt', process.cwd())
+
+getHomeDir = ->
+  process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']
+
+setupNodePath = ->
   resourcePaths = [
     'src/stdlib',
     'src/app',

    '',
  ]

  homeDir = process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']
  resourcePaths.push path.join(homeDir, '.atom', 'packages')

  resourcePaths = resourcePaths.map (relativeOrAbsolutePath) =>
    path.resolve resourcePath, relativeOrAbsolutePath


parseCommandLine = ->
  args = optimist(process.argv[1..]).argv
  executedFrom = args['executed-from']
  devMode = args['dev']
  pathsToOpen = args._
  resourcePath = if devMode then path.join(getHomeDir(), 'github/atom') else path.dirname(__dirname)

bootstrapApplication = ->
  parseCommandLine()
