+fs = require 'fs'
 path = require 'path'
 optimist = require 'optimist'
 delegate = require 'atom_delegate'

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

bootstrapApplication = ->
  parseCommandLine()

executedFrom = null
pathsToOpen = null
atomApplication = null

getHomeDir = ->
  process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']
