Merge pull request #5960 from Bjoernsen/patch-1

Enable multiple users
This commit is contained in:
Kevin Sawicki
2015-03-17 16:50:00 -07:00
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ _ = require 'underscore-plus'
temp = require 'temp'
directoryToOpen = temp.mkdirSync('browser-process-startup-')
socketPath = path.join(os.tmpdir(), 'atom.sock')
socketPath = path.join(os.tmpdir(), "atom_#{process.env['USER']}.sock")
numberOfRuns = 10
deleteSocketFile = ->

View File

@@ -9,7 +9,7 @@ webdriverio = require "../../../build/node_modules/webdriverio"
AtomPath = remote.process.argv[0]
AtomLauncherPath = path.join(__dirname, "..", "helpers", "atom-launcher.sh")
ChromedriverPath = path.resolve(__dirname, '..', '..', '..', 'atom-shell', 'chromedriver', 'chromedriver')
SocketPath = path.join(temp.mkdirSync("socket-dir"), "atom.sock")
SocketPath = path.join(temp.mkdirSync("socket-dir"), "atom_#{process.env['USER']}.sock")
ChromedriverPort = 9515
buildAtomClient = (args, env) ->

View File

@@ -18,7 +18,7 @@ DefaultSocketPath =
if process.platform is 'win32'
'\\\\.\\pipe\\atom-sock'
else
path.join(os.tmpdir(), 'atom.sock')
path.join(os.tmpdir(), "atom_#{process.env.USER}.sock")
# The application's singleton class.
#