 
   getPlatformExecutable: ->
     switch p = os.platform()
-      when "darwin" then "Cypress.app/Contents/MacOS/cypress"
-      when "linux"  then "Cypress"
-      when "win32"  then "Cypress.exe"
+      when "darwin" then "Cypress.app/Contents/MacOS/Cypress"
+      when "linux"  then "Cypress/Cypress"
+      when "win32"  then "Cypress/Cypress.exe"
       else
         throw new Error("Platform: '#{p}' is not supported.")
 
   getDefaultAppFolder: ->
     switch p = os.platform()
       when "darwin" then "/Applications"
-      when "linux"  then "/usr/local/bin"
+      when "linux"  then userhome(".cypress")
+      # when "linux"  then "/usr/local/lib"
       # when "win32"   then "i/dont/know/yet"
       else
         throw new Error("Platform: '#{p}' is not supported.")

    args = [].concat(args)

    _.defaults options,
      xvfb: false
      stdio: ["ignore", process.stdout, "ignore"]

    spawn = =>
      @verifyCypress(cypress).then ->
        cp.spawn cypress, args, options

    if options.xvfb
      @startXvfb().then(spawn)

      console.log("")
      process.exit(1)

  stopXvfb: ->
    xvfb.stopAsync()

  spawn: (args, options = {}) ->
    ## this needs to change to become async and
    ## to do a lookup for the cached cypress path
