Escape XML delimiters for notifications on linux

Thanks to @whitequark for pointing out an inconsistency in the way that
some Linux desktop environments were displaying markup in notifications.
This commit is contained in:
Scott Nonnenberg 2019-03-18 12:10:56 -07:00
parent 5336c5fd90
commit 7cfd3870d5
2 changed files with 11 additions and 1 deletions

View file

@ -19,6 +19,7 @@ if (config.appInstance) {
title += ` - ${config.appInstance}`;
}
window.platform = process.platform;
window.getTitle = () => title;
window.getEnvironment = () => config.environment;
window.getAppInstance = () => config.appInstance;