fix(versions): preserve inactive update settings and recover builder reuse #360
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!360
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/version-library-followup"
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?
An update launched from the Versions list could use the active profile’s original game even when a different installation was being updated. The same release can also fail to install when an unusable installed builder blocks a good prefetch, and Storage omits discovered copies that already appear in Versions. Removal could also stop on runtime settings left by a game run without an active profile. This follows up on the merged launcher changes.
Changes
Start an inactive version’s update with its registered source. Leave the active profile and launcher defaults alone if a different version is selected when the build completes. Keep the active version’s explicit profile source override.
Treat malformed builder records and executables that cannot be opened as cache misses. Try the next installed copy, the prefetch, or the normal signed download path. Reclaim redundant downloads only for the version that just built successfully.
Count every described version in Storage, including copies discovered in the configured library. Keep unfinished managed builds in the storage totals and count each folder once.
Before explicit removal, recover version-local settings to the sole associated profile if its settings file is absent. Keep differing settings or settings with ambiguous ownership in the data folder’s
recovered-settings/. Existing profile settings never get overwritten. Keep protecting saves, original game files, settings in unexpected locations, and settings beside an older unrecognized build.Testing
Possibly related, for context:
Synthetic preview of the Installed versions section with a managed installation and a discovered copy. Both use the existing removal confirmation.
WIP: fix(versions): preserve inactive update settings and recover builder reuseto fix(versions): preserve inactive update settings and recover builder reuse