feat(launcher): support --victory-exe for prebuilt VIctory runs #355
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/355"
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?
Imported from LooperSalty/AnyXboxX. Originally posted by Lewandox on 2026-11-26T12:14:46Z.
Summary
Adds
--victory-exe <path>(and--victory-exe=<path>) support to the pure-Rust graphical launcher (anyxboxx-launcher), resolving the limitation noted indocs/rust-full-status.mdwhere Play and Shaders always started with acargo buildstep (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>intoArgs::victory_exeand apply it inApp::apply_args.crates/anyxboxx-launcher/src/app.rs: Storevictory_exe: Option<PathBuf>onApp, allow starting Play/Shaders without a repository checkout when--victory-exeis provided, and mention--victory-exe <path>in the missing-checkout error hint.crates/anyxboxx-launcher/src/launch.rs: Addvictory_exe: Option<PathBuf>toPlanand resolve it viaVictory::prebuiltin bothplay_stepsandprecompile_stepssoBuilding VIctoryis skipped when using a prebuilt binary.crates/anyxboxx-launcher/src/session.rs&crates/anyxboxx-launcher/src/ui_pages.rs: Passvictory_exeintosession::make_planso 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— passcargo clippy -p anyxboxx-launcher --no-deps --all-targets -- -D warnings— passcargo 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)