fixes from pr review

This commit is contained in:
Araxeus
2023-01-09 19:20:11 +02:00
parent 70522173b7
commit 1c5d61854e
5 changed files with 34 additions and 24 deletions

View File

@ -368,8 +368,7 @@ app.on("ready", () => {
const shortcutDetails = electron.shell.readShortcutLink(shortcutPath); // throw error if doesn't exist yet
if (
shortcutDetails.target !== appLocation ||
shortcutDetails.appUserModelId !== appID ||
shortcutDetails.toastActivatorClsid !== toastActivatorClsid
shortcutDetails.appUserModelId !== appID
) {
throw "needUpdate";
}