mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Merge pull request #11929 from atom/windows-multiple-versions
Allow different versions of Atom to run simultaneously on Win32
This commit is contained in:
@@ -32,7 +32,7 @@ class AtomApplication
|
||||
@open: (options) ->
|
||||
unless options.socketPath?
|
||||
if process.platform is 'win32'
|
||||
options.socketPath = '\\\\.\\pipe\\atom-sock'
|
||||
options.socketPath = "\\\\.\\pipe\\atom-#{options.version}-sock"
|
||||
else
|
||||
options.socketPath = path.join(os.tmpdir(), "atom-#{options.version}-#{process.env.USER}.sock")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user