mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
Only change socketRoot on mac
This commit is contained in:
@@ -17,7 +17,9 @@ export class NativeMessagingMain {
|
||||
listen() {
|
||||
ipc.config.id = 'bitwarden';
|
||||
ipc.config.retry = 1500;
|
||||
ipc.config.socketRoot = path.join(homedir(), 'tmp');
|
||||
if (process.platform === 'darwin') {
|
||||
ipc.config.socketRoot = path.join(homedir(), 'tmp');
|
||||
}
|
||||
|
||||
ipc.serve(() => {
|
||||
ipc.server.on('message', (data: any, socket: any) => {
|
||||
|
||||
Reference in New Issue
Block a user