mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Add trailing slash to ipc.config.socketRoot. (#695)
This commit is contained in:
@@ -18,7 +18,7 @@ export class NativeMessagingMain {
|
||||
ipc.config.id = 'bitwarden';
|
||||
ipc.config.retry = 1500;
|
||||
if (process.platform === 'darwin') {
|
||||
ipc.config.socketRoot = path.join(homedir(), 'tmp');
|
||||
ipc.config.socketRoot = `${homedir()}/tmp/`;
|
||||
}
|
||||
|
||||
ipc.serve(() => {
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
/* tslint:disable:no-console */
|
||||
import * as ipc from 'node-ipc';
|
||||
import { homedir } from 'os';
|
||||
import * as path from 'path';
|
||||
|
||||
ipc.config.id = 'proxy';
|
||||
ipc.config.retry = 1500;
|
||||
ipc.config.logger = console.warn; // Stdout is used for native messaging
|
||||
if (process.platform === 'darwin') {
|
||||
ipc.config.socketRoot = path.join(homedir(), 'tmp');
|
||||
ipc.config.socketRoot = `${homedir()}/tmp/`;
|
||||
}
|
||||
|
||||
export default class IPC {
|
||||
|
||||
Reference in New Issue
Block a user