mirror of https://github.com/keeweb/keeweb
shorter socket name
parent
d17be63312
commit
316c14d845
|
@ -293,7 +293,7 @@ const Launcher = {
|
|||
const { username, uid } = this.req('os').userInfo();
|
||||
if (process.platform === 'darwin') {
|
||||
const teamId = RuntimeInfo.appleTeamId;
|
||||
return `/Users/${username}/Library/Group Containers/${teamId}.keeweb/browser.sock`;
|
||||
return `/Users/${username}/Library/Group Containers/${teamId}.keeweb/conn.sock`;
|
||||
} else if (process.platform === 'win32') {
|
||||
return `\\\\.\\pipe\\keeweb-connect-${username}`;
|
||||
} else {
|
||||
|
|
|
@ -206,7 +206,7 @@ std::string keeweb_pipe_name() {
|
|||
pipe_name = "\\\\.\\pipe\\keeweb-connect-" + std::string{user_info.username};
|
||||
#elif __APPLE__
|
||||
pipe_name = "/Users/" + std::string{user_info.username} +
|
||||
"/Library/Group Containers/3LE7JZ657W.keeweb/browser.sock";
|
||||
"/Library/Group Containers/3LE7JZ657W.keeweb/conn.sock";
|
||||
#else
|
||||
pipe_name = std::filesystem::temp_directory_path() /
|
||||
("keeweb-connect-" + std::to_string(user_info.uid) + ".sock");
|
||||
|
|
Loading…
Reference in New Issue