Files
mandy/tests
OreoFR 3e5887f651 play-nvidia: SAVE AND RESTART keeps the start's -More values
The F1 menu's SAVE AND RESTART starts play-nvidia.ps1 again with LEONIDA_MENU_ARGS, which listed the switches but
not -More. The launcher's frame limit, advanced options and crash tracing, and a LEONIDA_FG_WITH_RT=1 given by hand,
were gone after the restart (with ray tracing on, frame generation was then turned off again).

The table now goes into LEONIDA_MENU_ARGS as a PowerShell literal (the menu runs it with -Command), every quote
doubled. On that restart a value the menu saved for the same setting wins over the replayed -More, since it was
chosen after it; a normal start keeps -More over the menu as before.

Test: tests/test_win_launchers.py test_nvidia_menu_restart_replays_more (dry run, then the replayed command);
it fails without either change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 23:13:29 +01:00
..