mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
Add trailing slash to ipc.config.socketRoot. (#695)
This commit is contained in:
parent
644e58463b
commit
c09ba7051f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user