We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3006e5a + 8c0355c commit 1c9d956Copy full SHA for 1c9d956
notifiers/toaster.js
@@ -15,6 +15,7 @@ var fallback;
15
16
const PIPE_NAME = 'notifierPipe';
17
const PIPE_PATH_PREFIX = '\\\\.\\pipe\\';
18
+const PIPE_PATH_PREFIX_WSL = '/tmp/';
19
20
module.exports = WindowsToaster;
21
@@ -46,7 +47,8 @@ function parseResult(data) {
46
47
}
48
49
function getPipeName() {
- return `${PIPE_PATH_PREFIX}${PIPE_NAME}-${uuid()}`;
50
+ var pathPrefix = utils.isWSL() ? PIPE_PATH_PREFIX_WSL : PIPE_PATH_PREFIX;
51
+ return `${pathPrefix}${PIPE_NAME}-${uuid()}`;
52
53
54
function notifyRaw(options, callback) {
0 commit comments