Fix Windows notification title
This commit is contained in:
parent
440fcf2334
commit
fc7782a982
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue