tauri: only alert on update failure when triggered manually

This commit is contained in:
Brendan Allan
2025-12-17 22:51:14 +08:00
parent ebe25c3e9a
commit c6f84f32d7
3 changed files with 14 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ export async function createMenu() {
}),
await MenuItem.new({
enabled: UPDATER_ENABLED,
action: () => runUpdater(),
action: () => runUpdater({ alertOnFail: true }),
text: "Check For Updates...",
}),
await PredefinedMenuItem.new({