From 2164a5798a62445f35746a681b6eb276c7ae9f12 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Sat, 29 Jan 2022 16:03:00 +0000 Subject: [PATCH] Fix for notification source on Windows --- src/main/base/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/base/app.ts b/src/main/base/app.ts index 85f7627b..2efd0ea9 100644 --- a/src/main/base/app.ts +++ b/src/main/base/app.ts @@ -48,6 +48,8 @@ export class AppEvents { // Expose GC electron.app.commandLine.appendSwitch('js-flags','--expose_gc') + electron.app.setAppUserModelId(process.execPath) // For notification name + /*********************************************************************************************************************** * Commandline arguments **********************************************************************************************************************/ @@ -194,4 +196,4 @@ export class AppEvents { } } -} \ No newline at end of file +}