fix(versions): a version the builder has self-updated can be removed #406

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:fix/remove-self-updated into main 2026-12-03 07:32:20 +00:00
Owner

Removing a version failed with "This custom version folder contains an additional entry at "longshot_self_update.json"" once its builder had checked for or installed its own update.

tool_file now knows longshot_self_update.json, and the .old and .old.part copies of the program that the builder's self-update keeps. Anything else in the folder still keeps it from being removed.

Tests: the library test now covers the three files; fmt, Clippy and cargo test pass, except adding_the_same_release_twice_creates_distinct_instances, skipped because a game was open.

🤖 Generated with Claude Code

Removing a version failed with "This custom version folder contains an additional entry at \"longshot_self_update.json\"" once its builder had checked for or installed its own update. `tool_file` now knows `longshot_self_update.json`, and the `.old` and `.old.part` copies of the program that the builder's self-update keeps. Anything else in the folder still keeps it from being removed. **Tests:** the library test now covers the three files; fmt, Clippy and `cargo test` pass, except `adding_the_same_release_twice_creates_distinct_instances`, skipped because a game was open. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(versions): a version the builder has self-updated can be removed
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
cf54686219
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Member

Possibly related, for context:

  • issue #386 Install: Removing nightly-830 returns to the confirmation dialog — Related version-removal failure; distinct reported cause
  • PR #362 fix(versions): recover legacy settings and scope removal guards — Prior merged removal guards this change extends
Possibly related, for context: - issue #386 Install: Removing nightly-830 returns to the confirmation dialog — Related version-removal failure; distinct reported cause - PR #362 fix(versions): recover legacy settings and scope removal guards — Prior merged removal guards this change extends
HumanBean force-pushed fix/remove-self-updated from cf54686219
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
to f48eb84b5a
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
2026-12-03 07:29:15 +00:00
Compare
HumanBean force-pushed fix/remove-self-updated from f48eb84b5a
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
to 74a0273c08
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 5s
CI / Rust formatting, lint and tests (pull_request) Successful in 15m20s
CI / Release packages and stable upgrades (pull_request) Failing after 34m5s
2026-12-03 07:29:40 +00:00
Compare
HumanBean deleted branch fix/remove-self-updated 2026-12-03 07:32:20 +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!406
No description provided.