Fix Windows notification title

This commit is contained in:
Mylloon 2024-09-01 02:25:14 +02:00
parent 440fcf2334
commit fc7782a982
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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();