fix: apply fix from eslint

This commit is contained in:
JellyBrick
2024-02-18 11:58:26 +09:00
parent 9f5651a8ba
commit 4657aeca45
12 changed files with 67 additions and 51 deletions

View File

@ -586,7 +586,7 @@ app.whenReady().then(async () => {
);
try {
// Check if shortcut is registered and valid
const shortcutDetails = shell.readShortcutLink(shortcutPath); // Throw error if doesn't exist yet
const shortcutDetails = shell.readShortcutLink(shortcutPath); // Throw error if it doesn't exist yet
if (
shortcutDetails.target !== appLocation ||
shortcutDetails.appUserModelId !== appID