Repository navigation
Conversation
… pins (elripalda#393) Whether an install is a version the player picked is one rule now (picked_by_player): the same version again (Change Build, a reinstall) stays as it was, and the newest release or the one the store let out never pins the game.
…lripalda#393) An install with no version goes to the one the store let out, which for Longshot is v3.0.0 while its newest releases are nightlies. Automatic updates, Update All and the Update buttons now install the version on offer by name; Change Build and the build picker keep the version (and a first install's folder); Big Picture installs the newest by name too. A picked nightly's card says "Go Back to v3.0.0" instead of "Go to the newest".
…lripalda#393) Longshot's server keeps a few nightlies. Once the installed one is gone from the list, the update check couldn't compare "nightly-680" with "v3.0.0" and took v3.0.0 for newer, so automatic updates put players back on it. A tag that isn't a version is now compared by date: a release is newer only when it came out after the game was installed.
…ease dates with an offset read right (elripalda#393) The test only had a Windows x64 build, so the Mac test machine (arm64) found none and offered nothing. A Forgejo server may send a release date with an offset (+02:00): it's taken off now.
Collaborator
Author
|
Closing in favour of #429, which carries all of this PR's changes (installs keep the version picked, a deleted nightly isn't updated back to an older release, updates install the offered version by name) together with the SDK refactor. |
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.
Refs #393 (the Longshot part: "stuck on 3.0.0", "reverts after one launch").
Why
An install with no version goes to the release the store let out, which for Longshot is v3.0.0, while its newest releases are nightlies. Several places installed with no version, and the update check misread nightlies once they were deleted.
What
newer_than_gone).updateGame,S.updates). The "crashing a lot" warning still shows for it.picked_by_player).Tested
Main has one unrelated commit since this branch (#411); it merges cleanly.