From 2fd4e06b345e6edbe12f1de456bb3f057c2b14f0 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 3 Mar 2026 21:36:29 -0800 Subject: [PATCH] Allow update checks when status is available - Stop skipping `checkForUpdates` when updater state is `available` - Continue skipping only while an update is downloading or already downloaded --- apps/desktop/src/main.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index a68a1373f0a55ea8479b49c0248479f02aa1900a..f88743dc4bbf05e9c939fd7cb5e24eb052afdd7c 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -577,11 +577,7 @@ function shouldEnableAutoUpdates(): boolean { async function checkForUpdates(reason: string): Promise { if (isQuitting || !updaterConfigured || updateCheckInFlight) return; - if ( - updateState.status === "downloading" || - updateState.status === "downloaded" || - updateState.status === "available" - ) { + if (updateState.status === "downloading" || updateState.status === "downloaded") { console.info( `[desktop-updater] Skipping update check (${reason}) while status=${updateState.status}.`, ); -- 2.54.0