From fc7782a9826ca8b99db368c036acd26402e545d5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 1 Sep 2024 02:25:14 +0200 Subject: [PATCH] Fix Windows notification title --- src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.ts b/src/main.ts index d21e3ad..62e3440 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,6 +51,11 @@ const createWindow = () => { return win; }; +// For notification on Windows +if (process.platform === "win32") { + app.setAppUserModelId(app.name); +} + /* Ready to create the window */ app.whenReady().then(() => { const win = createWindow();