Skip to content

Fix updater button stuck on checking state#43

Merged
Umaaz merged 2 commits into
mainfrom
sleek-reef
Apr 7, 2026
Merged

Fix updater button stuck on checking state#43
Umaaz merged 2 commits into
mainfrom
sleek-reef

Conversation

@Umaaz
Copy link
Copy Markdown
Contributor

@Umaaz Umaaz commented Apr 7, 2026

Summary

  • The update-not-available event handler only logged but never sent an IPC message to the renderer, leaving the "Check for updates" button stuck in a spinning/disabled state
  • Added up-to-date status to the UpdateStatus type and wired it through main → preload → renderer
  • Button now shows green "Up to date (vX.Y.Z)" text when already on the latest version

Test plan

  • Open Settings, click "Check for updates" when already up to date — should show green "Up to date" text
  • Click "Check for updates" when an update is available — download flow still works
  • Button re-enables after check completes in all cases

🤖 Generated with Claude Code

Umaaz and others added 2 commits April 7, 2026 09:42
… date

The update-not-available event handler only logged but never sent an
IPC message to the renderer, so the checking state was never cleared.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace inline type duplicate with the imported UpdateStatus type to
fix type error from the new 'up-to-date' status variant.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Umaaz Umaaz merged commit 42a9eca into main Apr 7, 2026
3 checks passed
@Umaaz Umaaz deleted the sleek-reef branch April 7, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant