Skip to content

Commit

Permalink
add feedback when an update is not found but the user would expect so…
Browse files Browse the repository at this point in the history
…mething to happen (#474)
  • Loading branch information
OrangeDrangon authored Nov 20, 2024
1 parent 54f46ce commit 75d4835
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/helpers/autoUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ export async function checkForUpdate(
icon: path.resolve(RESOURCES_PATH, "icons", "64x64.png"),
});
notification.show();
} else if (!isUpdate && showNotification) {
const notification = new Notification({
title: "No update found",
icon: path.resolve(RESOURCES_PATH, "icons", "64x64.png"),
silent: true,
urgency: "low",
});
notification.show();
}
}
const installUpdateMenuItem = Menu.getApplicationMenu()?.getMenuItemById(
Expand Down

0 comments on commit 75d4835

Please sign in to comment.