Fix for notification source on Windows

This commit is contained in:
Core 2022-01-29 16:03:00 +00:00
parent 2c4158702f
commit 2164a5798a
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -48,6 +48,8 @@ export class AppEvents {
// Expose GC // Expose GC
electron.app.commandLine.appendSwitch('js-flags','--expose_gc') electron.app.commandLine.appendSwitch('js-flags','--expose_gc')
electron.app.setAppUserModelId(process.execPath) // For notification name
/*********************************************************************************************************************** /***********************************************************************************************************************
* Commandline arguments * Commandline arguments
**********************************************************************************************************************/ **********************************************************************************************************************/
@ -194,4 +196,4 @@ export class AppEvents {
} }
} }
} }