windows: fix notification title & icon
This commit is contained in:
parent
8630f79b06
commit
91e1cc02ce
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ if (!app.requestSingleInstanceLock()) {
|
|||
});
|
||||
|
||||
app.whenReady().then(async () => {
|
||||
if (process.platform === "darwin")
|
||||
if (process.platform === "win32")
|
||||
app.setAppUserModelId("dev.vencord.desktop");
|
||||
else if (process.platform === "darwin")
|
||||
app.dock.setIcon(ICON_PATH);
|
||||
|
||||
createWindows();
|
||||
|
|
Loading…
Reference in a new issue