mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
@@ -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 = ->
|
||||
|
||||
@@ -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) ->
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user