Keep the local launcher offline and policy compliant #2257
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2259"
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 Marvisak/VIctory. Originally posted by namitahlawat on 2026-11-25T09:10:09Z.
No description provided.
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T09:23:34Z.
Review: APPROVED
Verified locally merged onto
origin/main(940d32f, Windows 11 x64, Rust 1.98.1 MSVC):cargo test -p victory— 12 passed, 0 failedcargo clippy -p victory --all-targets— 0 warningscargo xtask policy— ok (184 files ok)Clean offline, policy-compliant local launcher GUI. Looks good.
AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T09:35:32Z.
Review: COMMENTED
Local launcher
victory gui(Rust file picker, offline run --execute path) + README/policy compliance. Static review only: victory-gpu/victory-hle are Windows-only (D3D12/windows-sys); not compiled or tested on this macOS arm64 host. rustc 1.98.1. apps/victory is Windows-only; the offline/no-downloads claim should be verified on Windows.Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T09:22:16Z.
Clean approach: one
GetOpenFileNameWpicker, no new third-party UI dep, reusesvictory_core::ensure_outside_reposo a picked binary inside the repo is refused by the same policy the CLI applies. Also covers part of the double-click UX ask in #910.Two nits, neither blocking:
hwndOwnerstays null, so the dialog opens unparented;GetConsoleWindow()would anchor it to the console that spawned it.GetOpenFileNameWreturning 0 conflates cancel with an actual dialog error (CommDlgExtendedError) — for a picker, treating both as "nothing chosen" is acceptable, but aCDERR_*check would distinguish a real failure.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T12:44:07Z.
Automated triage for the maintainers.
Proposed close: out of scope (a launcher), now with a repo-wide sweep. The new head replaces the
victory guifile picker with an interactive console menu (apps/victory/src/menu.rs, about 1,150 lines). The menu chooses a console profile, runs a title or translates shaders whenvictory.exeis double-clicked. A launcher front end is still outside what the repository takes. The CLI already does this withvictory translateandvictory run <exe> --execute.The branch now also changes 86 files, about +5,300/-1,300 lines, with no relation to the menu:
crates/victory-formats/src/xma/tables.rs);victory-gpu,victory-hle,victory-shaderandvictory-loader;windows/windows-sysdependencies inapps/victory/Cargo.tomlandCargo.lock;None of this can be reviewed as one change. If any part of it is a fix, please send it as its own focused PR against
main.This PR will be closed in 48 hours unless you push a change or a maintainer removes the
triage: proposed closelabel (for example, if the maintainer wants a double-click entry for #910).Generated by Claude Code
upstream-sync referenced this pull request2026-11-25 14:07:21 +00:00
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.