Skip to content

Two setup roads: Easy Setup, or Skip Easy Setup just runs the program - #408

Closed
Xarishark wants to merge 4 commits into
elripalda:mainfrom
Xarishark:feat/two-setup-roads-17188f
Closed

Xarishark wants to merge 4 commits into
elripalda:mainfrom
Xarishark:feat/two-setup-roads-17188f

Conversation

@Xarishark

Copy link
Copy Markdown
Collaborator

Refs #393. A game now has two roads only:

  • Easy Setup on: the launcher builds or sets up from the player's copy or named files, then plays.
  • Easy Setup off (Skip Easy Setup): Play runs the release's program, or the one picked under Manage → Game Executable, with the launch options. Nothing asks or blocks.

Cut:

  1. Set Up By Hand: ManualSetup, SetupMode::ByHand, set_manual, manual_defaults, manual_plan, fill_copy_args, the by_hand / way reasons and NEED_WAY, its window, Manage row, Easy Setup link and Troubleshoot fixes.
  2. The player's own build: build_dir, prebuilt, rebase_build, setup_use_build, move_build, check_own_build, the own_build / own_build_missing reasons, NEED_OWN_BUILD, Where's Your Build?, Use a Build You Already Have, Use the One Still Here and Move Build. keeps_copy rebuilds, Finish the Update and Free Up Space stay.
  3. The Setup Required gate: Play no longer waits for "Done, Play". The developer's steps are a note under How to Set Up on the game's page. The steps sheet (desktop and Big Picture) is for reading, with Play. Shortcuts, the tray and Steam no longer stop on setup_required. Installer-only releases still install first.

Migration: the library moves to format 3. Hand setups and games with build_dir / prebuilt load as Skip Easy Setup, and a hand setup's program becomes the picked Game Executable. Changing a game's project now keeps a picked program, as updates already did.

75 unused translation texts were removed mid-file in every ui/i18n file (found by diffing tools/launcher-i18n.py --check against main).

Expect small conflicts with #402 (the way refusal) and #407 (setup_state.rs, lib.rs), whichever lands first.

Note on commits: a signing hiccup put the core and UI changes into the "Tests follow the two setup roads" commit. Both commits are signed.

Tested on Linux (bazzite-kde): cargo test --lib 975 passed, 1 ignored (schema parity test included); node --test tests/*.test.cjs 681 passed. Not tried in the running app.

For the website (SDK guide)

  • Two setup roads: with Easy Setup, the manifest's game, inputs, prepare and start apply; with Skip Easy Setup, Play runs only the release's program or the player's Game Executable, plus launch options. There's no Set Up By Hand and no player-supplied build any more, so prepare.done no longer describes a player's own build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant