fix(versions): recover legacy settings and scope removal guards #362

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:version-removal-layout into main 2026-11-29 03:13:59 +00:00
Owner

A damaged profile elsewhere in the library or a missing build from the previous launcher could stop removal of an otherwise valid version. Older builds can also leave their settings at a different path from the current game layout.

  • During version removal, skip unreadable profiles and missing build references. Continue to protect existing references that overlap the selected installation.
  • Recover legacy longshot_options.ini and misplaced build-root settings.ini from recognized builds.
  • Preserve nested saves, game archives, and loose game dumps. Name the unexpected entry when a custom folder cannot be removed.

Verification

  • The removal regressions exercise an unreadable profile, a stale reference, legacy settings recovery, and protection of in-folder saves and game files.
  • Formatting and locked Clippy passed. All 46 release fixtures passed.
  • 245 Rust tests passed and one package download test was ignored as configured. The remaining release-install test stops at its existing machine-wide idle guard while another Longshot process is running on this PC.
A damaged profile elsewhere in the library or a missing build from the previous launcher could stop removal of an otherwise valid version. Older builds can also leave their settings at a different path from the current game layout. - During version removal, skip unreadable profiles and missing build references. Continue to protect existing references that overlap the selected installation. - Recover legacy `longshot_options.ini` and misplaced build-root `settings.ini` from recognized builds. - Preserve nested saves, game archives, and loose game dumps. Name the unexpected entry when a custom folder cannot be removed. ## Verification - The removal regressions exercise an unreadable profile, a stale reference, legacy settings recovery, and protection of in-folder saves and game files. - Formatting and locked Clippy passed. All 46 release fixtures passed. - 245 Rust tests passed and one package download test was ignored as configured. The remaining release-install test stops at its existing machine-wide idle guard while another Longshot process is running on this PC.
fix(versions): recover legacy settings and scope removal guards
Some checks failed
CI / What the change needs (pull_request) Successful in 8s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 15s
PR title / Conventional Commit title (pull_request) Successful in 7s
CI / Release packages and stable upgrades (pull_request) Failing after 1m7s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m24s
546feb81aa
Member

Possibly related, for context:

  • PR #317 feat(versions): show previous launcher builds and remove one in one action — Overlapping version-removal and safe cleanup work
  • issue #329 Launcher: Nightly update build completes but registration is refused because destination folder is non-empty — Related protection of non-empty build folders during registration
  • PR #84 feat(play): the game settings follow the player into a new build, and Linux builds get --user — Prior merged settings recovery/carry behavior
Possibly related, for context: - PR #317 feat(versions): show previous launcher builds and remove one in one action — Overlapping version-removal and safe cleanup work - issue #329 Launcher: Nightly update build completes but registration is refused because destination folder is non-empty — Related protection of non-empty build folders during registration - PR #84 feat(play): the game settings follow the player into a new build, and Linux builds get --user — Prior merged settings recovery/carry behavior
HumanBean changed title from WIP: fix(versions): recover legacy settings and scope removal guards to fix(versions): recover legacy settings and scope removal guards 2026-11-29 03:13:53 +00:00
HumanBean deleted branch version-removal-layout 2026-11-29 03:14:00 +00:00
Sign in to join this conversation.
No reviewers
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!362
No description provided.