fix(versions): the nightly launcher's versions in builds.json are not listed here, and kept as they are #289
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!289
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/stable-hides-nightly-versions"
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?
The stable launcher (v1.3.0) listed the nightly launcher's longshot-builder versions as installed, with Play, because both launchers keep their versions in the same
builds.json; and every time it saved that list it dropped the fields it doesn't know (nupInPlace), damaging the nightly's rows. This is the fix for a v1.3.1 cut from this branch (release/v1.3, from v1.3.0); the nightly gets its own list in #288.What changed
BuildRegistry.NightlyRow): a row markednupInPlace, a folder in the nightly's version folders (<home>/versions), or a game folder holding longshot-builder's build record (longshot_build.json, and its earlier names). Only this launcher's versions show, and this list's default is its own.Relistalso skips any game folder with longshot-builder's record; their versions' tools are not pruned.Tests
tests/launcher_core/NightlyRowChecks.cs(new): only the stable row is listed (version folder, record,nupInPlacerows hidden), the default is this list's; after a change and a save the nightly's rows come back withnupInPlaceand an unknown field kept anddefaultfalse; loaded again, the same split;Relisttakes make_game.py's game back, never longshot-builder's.python -I tests/test_launcher_core.py: 2805 checks passed.LAUNCHER=$PWD python -I ../Tooling/tests/test_release.py: OK.🤖 Generated with Claude Code
Possibly related, for context: