Repository navigation
Honor manual setup for games with preparation profiles - #402
thehobbit85 wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Approving: Set Up By Hand now just starts the program the player named, which is what #393 asks for, and the setup_state tests cover it.
Heads-up: #408 removes Set Up By Hand altogether (two setup roads: Easy Setup, or Skip Easy Setup runs the program). If it lands first, this PR isn't needed any more.
Nothing returns "way" any more, so its message, the "Use the Launcher's Way?" dialog, the Troubleshoot check that said a game set up by hand never gets built (with its fix) and their texts in every language go.
|
Closing this in favour of #408, thanks @thehobbit85 for the fix and the tests. While looking into #393 we decided the launcher should have two setup roads only: Easy Setup, or Skip Easy Setup, where Play just runs the game's program (or the one picked under Game Executable). #408 removes Set Up By Hand altogether, so the refusal this PR fixes goes with it, and a hand setup someone already has turns into Skip Easy Setup with its program kept. |
A game with both
prepareandstartin its profile refused to play after the player explicitly chose Set Up By Hand. Both the shared setup status and Play forced the player back to Easy Setup, even when the selected executable was already usable outside the launcher.Honor the manual choice in both paths. Manual launch uses the existing command and availability checks, without requiring automatic setup inputs. Automatic setup, the game's installer rebuild path, and the existing own-build/skip routes retain their behavior.
Validation: synthetic prepare/start manifests reproduce the refusal without game files; five affected assertions fail before the fix. Tests cover successful manual routing, missing and directory-valued programs, inactive manual mode, and shared readiness. Full Rust suite: 960 passed, 1 ignored. Full UI suite: 661 passed, 11 platform skips.
git diff --checkis clean.Refs #393. This addresses the explicit manual-setup refusal only; it does not claim to fix the separate Longshot version or inside-install copy reports.