diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-12-02 19:50:08 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-12-02 23:16:48 -0300 |
| commit | 3bc1c333ef2ff314e60cbc656bd412486366c561 (patch) | |
| tree | d789fa1f2f4c10dcc4e492e013a1be3924ee3c6f /runtime/test/clzero_patch_test.cpp | |
| parent | d15e048a746896621422542b5bce28d08812d101 (diff) | |
launchers: command-line arguments keep a folder's last backslash (GAME-GATE-START-QUOTING)
game-gate.ps1's start verb, and play-nvidia.ps1 for the button-prompt
tool, quoted each argument of a Windows command line as '"' + value
with " turned into \" + '"'. By CommandLineToArgvW's rules a backslash
in front of a quote escapes it, so -RunRoot D:\runs\ reached the
supervisor as D:\runs" followed by every later argument, and a
-PcGlyphs folder such as "C:\My glyphs\" did the same to the tool.
The backslashes in front of a quote or of the closing quote are now
doubled, and play-nvidia.ps1 quotes an empty argument as "" too.
tests/test_game_gate_start_quoting.py runs each script's own quoting on
awkward values and parses the joined line back with CommandLineToArgvW;
both cases fail on the base scripts.
Diffstat (limited to 'runtime/test/clzero_patch_test.cpp')
0 files changed, 0 insertions, 0 deletions