mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
Fixed windows notifications so they work, if the message contains ' characters
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -87,6 +87,9 @@ function Toaster()
|
||||
retVal._child.addModule('win-console', getJSModule('win-console'));
|
||||
retVal._child.addModule('win-message-pump', getJSModule('win-message-pump'));
|
||||
|
||||
caption = caption.split("'").join("\\'");
|
||||
title = title.split("'").join("\\'");
|
||||
|
||||
var str = "\
|
||||
try{\
|
||||
var toast = require('win-console');\
|
||||
|
||||
Reference in New Issue
Block a user