Launcher: the same version is listed twice (two rows with one tag) #350
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher#350
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What happens
Versions can list the same release twice, for example two
nightly-900-3c95873frows of the same size, both Up to date.Evidence
A launcher data folder had two registered versions in
versions.jsonwith different folders and ids, created hours apart, that an update later moved to the same tag (nightly-860-c6022bcd). Nothing stops a fresh install, or an update, from reaching a tag another version already is.Expected
A tag that is installed once is listed once: installing it again selects the existing version, and an update to a tag another version already is stops with a message.
Rows that already exist stay and can be removed from Versions.
Possibly related, for context:
Reframed: several instances of the same version are allowed, so listing the same tag twice is not the bug. The real change is to read versions from the version folders on disk, and to update a version in place. Tracked by the pull request that replaces #351.
From Discord:
The reporter's screenshot shows two rows for
nightly-895-22d0d200, both offering update to908-694ae582, and the notice: “A registered game source or external build overlaps this installation folder. Choose Add version to install the update separately.” A separate Remove attempt stopped with: “Removal stopped. This version overlaps a protected game source or external build: G:\Recomps\Longshot\versions\nightly-858-18f35835\builds\default”.