Launcher: the same version is listed twice (two rows with one tag) #350

Open
opened 2026-11-28 20:08:23 +00:00 by HumanBean · 3 comments
Owner

What happens

Versions can list the same release twice, for example two nightly-900-3c95873f rows of the same size, both Up to date.

Evidence

A launcher data folder had two registered versions in versions.json with 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.

## What happens Versions can list the same release twice, for example two `nightly-900-3c95873f` rows of the same size, both Up to date. ## Evidence A launcher data folder had two registered versions in `versions.json` with 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.
Member

Possibly related, for context:

  • PR #191 fix(home): games whose row went are listed again once, not at every start — Related installed-version listing logic, but this fix addresses re-listing removed builds rather than preventing two instances from sharing a tag.
Possibly related, for context: - PR #191 fix(home): games whose row went are listed again once, not at every start — Related installed-version listing logic, but this fix addresses re-listing removed builds rather than preventing two instances from sharing a tag.
Author
Owner

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.

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.
Member

From Discord:

The reporter's screenshot shows two rows for nightly-895-22d0d200, both offering update to 908-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”.

From [Discord](https://discord.com/channels/1569849200047427645/1570984952651055114/1576371123212525680): The reporter's screenshot shows two rows for `nightly-895-22d0d200`, both offering update to `908-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”.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#350
No description provided.