feat(home): Check for updates, under your versions: Longshot's channels and the launcher's own, and it says when everything is up to date #38

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:feat/check-for-updates into main 2026-11-13 14:11:10 +00:00
Owner

The launcher checks for updates only when it starts, from Try again, or after a channel change. Someone who leaves it open, or who just heard a new version is out, has no way to look again without restarting it. This adds a Check for updates button under your versions.

Check for updates under the version list

What changed

  • Check for updates (HomeView.axaml, under Your versions, beside the footer): runs the existing update check (CheckReleasesAsync). That one check covers both updates: Longshot's channels for your versions, and the launcher's own channel.
    • While it runs, the button is off and the line under it shows "Checking for updates…" with its spinner, as before.
    • It's off while the launcher updates itself, since a check forgets the update being put in place (CanStartBuild).
    • An update it finds shows itself, as before: the launcher's banner, each version's Update button.
    • When nothing is new, it says so: "Everything is up to date, the launcher too. Checked at 14:05." The automatic check at start stays quiet.
  • Spacing: a little more room above and below the version list (header to card and card to footer: 10 → 16).
  • A refresh icon (Controls.cs).
  • BusyChecks.cs: a source check that the button runs the check and is off while it or the launcher update runs.

Testing

  • python -I tests/test_launcher_core.py --longshot <Longshot checkout>: 635 checks passed (634 + the new one). python -I tests/test_release.py: OK.
  • Ran the launcher (Debug, Linux/Wayland) with a throwaway LONGSHOT_LAUNCHER_HOME and one v3.0.0-rc.3 build: the screenshot above.
  • Not tested: clicking the button in the running launcher (I couldn't drive clicks on this Wayland desktop). The "up to date" line has only been read, not seen on screen.

🤖 Generated with Claude Code

The launcher checks for updates only when it starts, from *Try again*, or after a channel change. Someone who leaves it open, or who just heard a new version is out, has no way to look again without restarting it. This adds a **Check for updates** button under your versions. ![Check for updates under the version list](https://git.magicbean.dev/attachments/8ccf0e40-53e7-4848-a112-f6d31342fd72) ## What changed - **Check for updates** (`HomeView.axaml`, under *Your versions*, beside the footer): runs the existing update check (`CheckReleasesAsync`). That one check covers both updates: Longshot's channels for your versions, and the launcher's own channel. - While it runs, the button is off and the line under it shows "Checking for updates…" with its spinner, as before. - It's off while the launcher updates itself, since a check forgets the update being put in place (`CanStartBuild`). - An update it finds shows itself, as before: the launcher's banner, each version's *Update* button. - When nothing is new, it says so: "Everything is up to date, the launcher too. Checked at 14:05." The automatic check at start stays quiet. - **Spacing:** a little more room above and below the version list (header to card and card to footer: 10 → 16). - A `refresh` icon (`Controls.cs`). - `BusyChecks.cs`: a source check that the button runs the check and is off while it or the launcher update runs. ## Testing - `python -I tests/test_launcher_core.py --longshot <Longshot checkout>`: 635 checks passed (634 + the new one). `python -I tests/test_release.py`: OK. - Ran the launcher (Debug, Linux/Wayland) with a throwaway `LONGSHOT_LAUNCHER_HOME` and one `v3.0.0-rc.3` build: the screenshot above. - **Not tested:** clicking the button in the running launcher (I couldn't drive clicks on this Wayland desktop). The "up to date" line has only been read, not seen on screen. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(home): Check for updates, under your versions: Longshot's channels and the launcher's own, and it says when everything is up to date
Some checks failed
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Has been cancelled
7370dfa170
Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean deleted branch feat/check-for-updates 2026-11-13 14:11:11 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher!38
No description provided.