WIP: fix(versions): a tag that is already installed is not installed a second time #351
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!351
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/no-duplicate-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Versions could list the same release twice (two
nightly-900rows), because nothing stopped a second install or an update from reaching a tag another version already is. Refs #350.What changed
versions::installed_copy: the listed version that already is a tag, other than the one a build replaces.wizard::buildchecks it before a New install or an Update starts. A fresh install of an installed tag selects the existing version and says so; an update to a tag another version already is stops and says to select it or remove the older one. A Rebuild is unaffected.Not in this PR
The versions-dir-only registry and in-place updates are not done: they touch
folders.rs,home.rs,storage.rs,storage/shaders.rs,recovery.rs,live.rs,steam/andprune.rs, which all readversions.json, and cannot be verified without running the launcher. Existing duplicate rows are not merged; Remove works on them.Checks
cargo check --locked --tests,cargo clippy --locked -- -D warningsandcargo fmt --checkpass on Linux. Not run on this PC:tests/test_launcher_core.py, Tooling'stest_release.py, the unit tests, and the launcher itself.🤖 Generated with Claude Code
Closing: this is the wrong fix. Having several instances of the same version is fine. What we want is for the launcher to read its versions from the version folders on disk (no versions.json), and to update a version in place. That work replaces this PR.
Closed, see the comment above: replaced by the read-versions-from-disk and in-place-update work.
HumanBean referenced this pull request2026-11-28 20:39:55 +00:00
Pull request closed