提交 63dd1ec2 编写于 作者: I Ishan Arora 提交者: Ishan Arora

fixes #22593

上级 a248e336
......@@ -30,6 +30,9 @@ function getUniqueUserId(): string {
}
function getNixIPCHandle(userDataPath: string, type: string): string {
if (process.env['XDG_RUNTIME_DIR']) {
return path.join(process.env['XDG_RUNTIME_DIR'], `${pkg.name}-${pkg.version}-${type}.sock`);
}
return path.join(userDataPath, `${pkg.version}-${type}.sock`);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册