fix(launcher): explain protected installs and scrub build logs #327

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:fix/protected-install-diagnostics into main 2026-11-28 02:25:13 +00:00
Owner

The launcher can block an update or removal because a previous launcher registry still references the compiled build. The update reported this as a game source, which sent players looking for their original game files.

  • Check for protected installation paths before starting an update and recheck before replacing files. Explain a previous-launcher registry reference separately from a game source or external build overlap.
  • Keep the same protection during removal and identify which kind of path blocked it. An update can be installed separately through Add version.
  • Identify the relative entry when an upgrade destination is occupied. Include launcher version, platform, target, and build settings in new transcripts, and scrub known local paths and account names before saving the transcript.

Testing

  • Linux launcher core suite with synthetic build and registry data. 204 passed and one was ignored.
  • Locked Clippy, Rust formatting, and all 46 Tooling release tests passed.
  • On an isolated Linux display, triggered Update and Remove with a compiled-build folder recorded in both registries. Update stopped before starting the builder and Remove displayed the protected build folder. Screenshots are attached below.
  • Windows reproduction using an installation left in the previous registry still needs verification.
The launcher can block an update or removal because a previous launcher registry still references the compiled build. The update reported this as a game source, which sent players looking for their original game files. - Check for protected installation paths before starting an update and recheck before replacing files. Explain a previous-launcher registry reference separately from a game source or external build overlap. - Keep the same protection during removal and identify which kind of path blocked it. An update can be installed separately through **Add version**. - Identify the relative entry when an upgrade destination is occupied. Include launcher version, platform, target, and build settings in new transcripts, and scrub known local paths and account names before saving the transcript. ## Testing - Linux launcher core suite with synthetic build and registry data. 204 passed and one was ignored. - Locked Clippy, Rust formatting, and all 46 Tooling release tests passed. - On an isolated Linux display, triggered Update and Remove with a compiled-build folder recorded in both registries. Update stopped before starting the builder and Remove displayed the protected build folder. Screenshots are attached below. - Windows reproduction using an installation left in the previous registry still needs verification.
fix(launcher): explain protected installs and scrub build logs
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 9s
PR title / Conventional Commit title (pull_request) Successful in 11s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m8s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m2s
01e4ead2ff
Author
Owner

Synthetic Linux fixture with the compiled build recorded in the previous launcher's registry.

Update reports the previous registry before starting the build

Removal identifies the previous registry and the protected build folder

Synthetic Linux fixture with the compiled build recorded in the previous launcher's registry. ![Update reports the previous registry before starting the build](https://git.magicbean.dev/attachments/54d51e6c-1e56-4abf-af46-47c1814a2b6b) ![Removal identifies the previous registry and the protected build folder](https://git.magicbean.dev/attachments/c20b02f6-dac4-4731-88b6-a9f1cc981463)
Member

Possibly related, for context:

  • PR #317 feat(versions): show previous launcher builds and remove one in one action — Open work surfaces and manages previous-launcher builds; overlaps protected-path/removal flows.
  • PR #164 fix(privacy): one shared rule keeps the user's name out of the launcher's log and every report — Merged prior shared user-name scrubbing for launcher logs and reports; verify transcript scrubbing complements it.
  • PR #325 fix(versions): show removal progress and identify protected files — Merged removal protection/path reporting; this extends related safeguards to previous-registry references and updates.
Possibly related, for context: - PR #317 feat(versions): show previous launcher builds and remove one in one action — Open work surfaces and manages previous-launcher builds; overlaps protected-path/removal flows. - PR #164 fix(privacy): one shared rule keeps the user's name out of the launcher's log and every report — Merged prior shared user-name scrubbing for launcher logs and reports; verify transcript scrubbing complements it. - PR #325 fix(versions): show removal progress and identify protected files — Merged removal protection/path reporting; this extends related safeguards to previous-registry references and updates.
HumanBean deleted branch fix/protected-install-diagnostics 2026-11-28 02:25:13 +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!327
No description provided.