[pr-fix] fix(launcher): preserve Auto-Tune summary metacharacters #43
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ToLIManl--VIctory-Hydra!43
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-43"
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?
@LANgmas on GitHub · 2026-12-04 06:36 UTC · original
LANgmas:fix/autotune-summary-pipes→main· +83 −1 · 2 files · 1 commits · openFixes #40
What it changes
VICTORY_AUTOTUNE_SUMMARYintentionally contains pipe characters such as| 16T CPU |. The launcher echoed it through%VICTORY_AUTOTUNE_SUMMARY%; cmd performs percent expansion before recognizing pipes, so the summary text was reparsed as commands and startup could fail with'16T' is not recognized.This uses delayed expansion only around the Auto-Tune banner line and restores the previous expansion state immediately afterward. It adds a Windows integration regression test that runs the real copied launcher with a harmless
whoami.exerunner. The test covers pipes, a literal exclamation mark in the summary, continuation through the banner, and verifies that a later%VICTORY_STREAMLINE_DIR%value containing!EXPAND_ME!remains literal rather than expanding toSHOULD_NOT_APPEAR.How it was tested
cargo test -p victory --test launcher_batch --lockedfailed as designed against the original implementation. Cargo exited 101, the child cmd process exited 255, stderr contained'16T' is not recognized as an internal or external command, and the complete summary was absent.cargo test -p victory --test launcher_batch --lockedexited 0 with 1/1 test passing.cargo test -p victory --lockedexited 0 with 85/85 tests passing: 81 unit tests, 1 cache_paths test, 2 census tests, and 1 launcher_batch test.git diff --checkexited 0, andgit diff --cached --checkalso exited 0 before commit.cargo testpassed for the crates it touches: yes —cargo test -p victory --lockedexited 0.mainfor unrelated pre-existing loader/shader lint and asset-policy violations.Checked for overlap
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.