feat(launcher): support --victory-exe for prebuilt VIctory runs #355

Manually merged
github merged 2 commits from github-bot/gh-355 into main 2026-11-26 15:38:55 +00:00 AGit
Owner

@⁠Lewandox on GitHub · 2026-11-26 12:14 UTC · original
Lewandox:feat/launcher-victory-exe → main · +157 −25 · 7 files · 2 commits · merged 2026-11-26 15:33 UTC

Summary

Adds --victory-exe <path> (and --victory-exe=<path>) support to the pure-Rust graphical launcher (anyxboxx-launcher), resolving the limitation noted in docs/rust-full-status.md where Play and Shaders always started with a cargo build step (which fails under Proton or without a local repository checkout).

Changes

  • crates/anyxboxx-launcher/src/app_launch.rs: Parse --victory-exe <path> and --victory-exe=<path> into Args::victory_exe and apply it in App::apply_args.
  • crates/anyxboxx-launcher/src/app.rs: Store victory_exe: Option<PathBuf> on App, allow starting Play/Shaders without a repository checkout when --victory-exe is provided, and mention --victory-exe <path> in the missing-checkout error hint.
  • crates/anyxboxx-launcher/src/launch.rs: Add victory_exe: Option<PathBuf> to Plan and resolve it via Victory::prebuilt in both play_steps and precompile_steps so Building VIctory is skipped when using a prebuilt binary.
  • crates/anyxboxx-launcher/src/session.rs & crates/anyxboxx-launcher/src/ui_pages.rs: Pass victory_exe into session::make_plan so warm-cache fingerprinting and step previews reflect the prebuilt executable.
  • docs/rust-full-status.md & docs/fr/rust-full-status.md: Update the graphical launcher note to document --victory-exe.

Verification

  • cargo fmt -p anyxboxx-launcher -- --check — pass
  • cargo clippy -p anyxboxx-launcher --no-deps --all-targets -- -D warnings — pass
  • cargo test -p anyxboxx-launcher — 201 passed, 0 failed (including 4 new unit tests covering CLI parsing, step planning without a repo, missing executable error handling, and warm-cache planning with a prebuilt binary)
**@⁠Lewandox** on GitHub · 2026-11-26 12:14 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/355) `Lewandox:feat/launcher-victory-exe` → `main` · +157 −25 · 7 files · 2 commits · merged 2026-11-26 15:33 UTC ## Summary Adds `--victory-exe <path>` (and `--victory-exe=<path>`) support to the pure-Rust graphical launcher (`anyxboxx-launcher`), resolving the limitation noted in `docs/rust-full-status.md` where Play and Shaders always started with a `cargo build` step (which fails under Proton or without a local repository checkout). ### Changes - **`crates/anyxboxx-launcher/src/app_launch.rs`**: Parse `--victory-exe <path>` and `--victory-exe=<path>` into `Args::victory_exe` and apply it in `App::apply_args`. - **`crates/anyxboxx-launcher/src/app.rs`**: Store `victory_exe: Option<PathBuf>` on `App`, allow starting Play/Shaders without a repository checkout when `--victory-exe` is provided, and mention `--victory-exe <path>` in the missing-checkout error hint. - **`crates/anyxboxx-launcher/src/launch.rs`**: Add `victory_exe: Option<PathBuf>` to `Plan` and resolve it via `Victory::prebuilt` in both `play_steps` and `precompile_steps` so `Building VIctory` is skipped when using a prebuilt binary. - **`crates/anyxboxx-launcher/src/session.rs` & `crates/anyxboxx-launcher/src/ui_pages.rs`**: Pass `victory_exe` into `session::make_plan` so warm-cache fingerprinting and step previews reflect the prebuilt executable. - **`docs/rust-full-status.md` & `docs/fr/rust-full-status.md`**: Update the graphical launcher note to document `--victory-exe`. ### Verification - `cargo fmt -p anyxboxx-launcher -- --check` — pass - `cargo clippy -p anyxboxx-launcher --no-deps --all-targets -- -D warnings` — pass - `cargo test -p anyxboxx-launcher` — 201 passed, 0 failed (including 4 new unit tests covering CLI parsing, step planning without a repo, missing executable error handling, and warm-cache planning with a prebuilt binary)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 12:16:19 +00:00
github manually merged commit df6a749dc3 into main 2026-11-26 15:38:55 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.