windows: fix notification title & icon

This commit is contained in:
Vendicated 2023-04-05 04:20:13 +02:00
parent 8630f79b06
commit 91e1cc02ce
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

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