Repository navigation
Conversation
The window shows the update card only for a release it can name, but the launcher sent the tag only while the update was "available". Pressing Update hid the card, and "Restart now" never appeared once the download finished. Keep the release found through the download, a finished download and a failure. A failed download says why and offers Try again (without a new check) and the download page, and a failed restart shows its reason. Pressing Update during a download no longer resets the updater to idle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A player reported that pressing Update on the launcher's own update made the card disappear, with nothing happening after.
Cause
LauncherUpdateshows the card only whensnap.updater.tagis set, butupdater_viewsent the tag only in theavailablestate:downloadingwith no tag, so the card vanished.downloadedwith no tag, so Restart now never appeared and the update stayed on disk, never installed.failed, which the window had no case for, so the failure was hidden too.Fix
Updaterkeeps the release a check found (release) through the download, a finished download and a failure. The view sends its tag in each of those states. A check that finds the version current forgets it.download()no longer resets the state to idle when it's pressed while a download is already running or one is ready.shell.update.failed,shell.update.page) in all six languages.Testing
pnpm ci:checkpasses. The new testthe_release_found_is_kept_through_its_download_and_a_failurecovers keeping and forgetting the release.🤖 Generated with Claude Code