@devries-cameron20 / t3code-1 / commits / 6d2f4f4cdf
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix: remove misleading log and redundant guard in handleCheckForUpdatesMenuClick

The guard for status === 'downloaded' logged 'skipping automatic install' but the function only checks for updates, never installs. The guard was also redundant since checkForUpdates() already returns early for 'downloaded', 'downloading', and 'available' statuses with correct log messages. Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com> Applied via @cursor push command

Cursor Agent committed Mar 4, 2026 at 04:59 UTC 6d2f4f4cdf257cf84e7b89aae14c0d9781392216
1 file changed -7
apps/desktop/src/main.ts
-7
@@ -424,13 +424,6 @@ function dispatchMenuAction(action: string): void {
424 }
425
426 function handleCheckForUpdatesMenuClick(): void {
427 - if (updateState.status === "downloaded") {
428 - console.info(
429 - "[desktop-updater] Check for updates clicked while an update is already downloaded; skipping automatic install.",
430 - );
431 - return;
432 - }
433 -
427 if (!shouldEnableAutoUpdates()) {
428 console.info("[desktop-updater] Manual update check requested, but updates are disabled.");
429 return;