Skip to content

Settings → Updates: Update All Games Automatically, and a game's own switch opts it out - #332

Merged
elripalda merged 5 commits into
elripalda:mainfrom
Xarishark:feat/downloads-count-autoupdate-switch-b444f7
Nov 20, 2026
Merged

elripalda merged 5 commits into
elripalda:mainfrom
Xarishark:feat/downloads-count-autoupdate-switch-b444f7

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Settings → Updates gets an Update All Games Automatically switch, and Big Picture's settings get the same one. With it on, every installed game takes a new release as soon as the launcher finds it, the same way each game's own Update automatically does today. It's off by default, so nobody's games start updating by themselves after the launcher updates. Turning it on starts the updates already waiting, without waiting for the next check.

A game can still opt out. With the Settings switch on, a game's own Update automatically (in its Manage tab, and a new item in Big Picture's game Options) shows as on and can be turned off. Off keeps just that game waiting for the player: its update stays in Downloads, on the sidebar count and in Update all. This is different from Pause Updates, which still hides the update altogether and keeps the game on its version.

  • Settings.auto_update_all (Rust, #[serde(default)], off), with tests that it's off for settings saved before it and that on survives a save.
  • autoUpdates(id) decides whether a game updates by itself: never a local build; its own auto_update; or the Settings switch, unless the game is on settings.ui.auto_update_skip. checkUpdates uses it in place of reading auto_update.
  • toggleAutoUpdate(id) is the game's switch. With the Settings switch on it only adds the game to the skip list or takes it off (clearing the game's own auto_update too if it was on). With it off it changes the game's own setting, as before.
  • The Manage tab's Update automatically row (in A game's Manage tab holds every setting, and its … menu only what no tab has #327's Updates card) shows autoUpdates(id) and, while Settings covers it, says so. Following A game's Manage tab holds every setting, and its … menu only what no tab has #327, the game's ⋯ menu doesn't repeat it.
  • Big Picture's game Options gets Update automatically / Turn off automatic updates beside Pause Updates, using the same two functions.
  • Five new texts, translated in every language file (en-GB and fr-CA take theirs from English and French). titlecase.js gets "automatic" in its word list, which "Turn Off Automatic Updates" needed.
  • Nothing a developer writes in recomplauncher.json changes, so no schema, docs or SDK guide line.

Testing

  • tests/auto-update-all.test.cjs: 16 new tests (the switch on both settings pages, the Manage tab row with Settings on and off, who updates by itself, the skip list both ways, a game with its own switch on, the switch with Settings off, Big Picture's item, the Title Case word). tests/auto-install.test.cjs and tests/manage-tab.test.cjs get the stubs their pages now need.
  • After merging main (with A game's Manage tab holds every setting, and its … menu only what no tab has #327): node --test tests/*.test.cjs: 518 pass, and cargo test: 847 pass, both on Linux (Bazzite).
  • tools/launcher-i18n.py --check: its output is the same as on main; every language has the new texts.
  • In the running launcher (debug build of this branch with main merged in; Linux, driven through tauri-driver, with a test library of two GitHub games and one local build; the update check and installs were stood in for in the page, so nothing was downloaded):
    • Before: nothing updated by itself, and the Downloads badge said 2.
    • Settings switch on: saved, both waiting updates started ("Updating 2 games."), the local build didn't.
    • Beta's Manage tab: the switch showed on with "Settings → Updates turns this on for every game. Off here: this game waits for you." Turned off: saved on the skip list, Beta's own setting untouched, and the next check updated only Alpha. Turned on again: off the list.
    • Settings switch off: nothing updated by itself, and Beta's switch was back to its own setting and its usual text.
    • Big Picture (F11): Beta's Options showed Turn Off Automatic Updates under "Updates wait for you in Downloads"; picking it put Beta on the skip list, the next check updated only Alpha, and the item then offered Update Automatically, which took Beta off the list again.

One switch, in Settings and in Big Picture, makes every installed game take
its new release as soon as the launcher finds it, the same way each game's own
Update automatically does. Off by default. A game with Pause Updates stays on
its version, and local builds never update. While it's on, a game's own switch
shows as on and points to Settings. Turning it on starts the updates already
waiting.
With Update All Games Automatically on, a game's switch in its Manage tab (and
its menu) is no longer locked on: turning it off keeps just that game waiting
for the player, remembered apart from its own setting, and turning it on again
lets it follow Settings. Big Picture's game options get the same switch.
Pause Updates still hides the update altogether.
Big Picture's new Turn off automatic updates showed as "Turn Off automatic
Updates": the English Title Case word list had "automatically" but not
"automatic".
…t-autoupdate-switch-b444f7

# Conflicts:
#	ui/app.js
#	ui/i18n/ar.json
#	ui/i18n/de.json
#	ui/i18n/es-419.json
#	ui/i18n/es.json
#	ui/i18n/fr.json
#	ui/i18n/id.json
#	ui/i18n/it.json
#	ui/i18n/ja.json
#	ui/i18n/ko.json
#	ui/i18n/nl.json
#	ui/i18n/pl.json
#	ui/i18n/pt-BR.json
#	ui/i18n/pt.json
#	ui/i18n/ru.json
#	ui/i18n/th.json
#	ui/i18n/tr.json
#	ui/i18n/uk.json
#	ui/i18n/vi.json
#	ui/i18n/zh-Hans.json
#	ui/i18n/zh-Hant.json
…t-autoupdate-switch-b444f7

# Conflicts:
#	ui/app.js
@Xarishark
Xarishark marked this pull request as ready for review November 19, 2026 23:48
@elripalda
elripalda merged commit aa62aa6 into elripalda:main Nov 20, 2026
6 checks passed
github-actions Bot pushed a commit to ProbablyModded/RecompLauncher that referenced this pull request Nov 20, 2026
- Update All Games Automatically: upstream now has this switch (auto_update_all,
  elripalda#332, with a per-game opt-out). The fork uses upstream's switch and row instead
  of its own, keeps it on by default, and reads the fork's older
  auto_update_games value as the same switch so a player's choice carries over.
- Settings → Updates → Install RecompLauncher Updates by Itself
  (launcher_auto_install, on by default): the update the clock downloaded installs
  while the window is in the tray or minimized and no game, download or Data Hoarder
  sweep is running. The installer runs with no window, then the launcher starts again
  in the tray (--tray) through a small script, so nothing pops up. While the window
  is in use it waits for Update Now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UbxXbjtP87JJfad1i8BefT
ProbablyModded pushed a commit to ProbablyModded/RecompLauncher that referenced this pull request Nov 21, 2026
- Update All Games Automatically: upstream now has this switch (auto_update_all,
  elripalda#332, with a per-game opt-out). The fork uses upstream's switch and row instead
  of its own, keeps it on by default, and reads the fork's older
  auto_update_games value as the same switch so a player's choice carries over.
- Settings → Updates → Install RecompLauncher Updates by Itself
  (launcher_auto_install, on by default): the update the clock downloaded installs
  while the window is in the tray or minimized and no game, download or Data Hoarder
  sweep is running. The installer runs with no window, then the launcher starts again
  in the tray (--tray) through a small script, so nothing pops up. While the window
  is in use it waits for Update Now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UbxXbjtP87JJfad1i8BefT
@Xarishark
Xarishark deleted the feat/downloads-count-autoupdate-switch-b444f7 branch November 23, 2026 23:56
ProbablyModded pushed a commit to ProbablyModded/RecompLauncher that referenced this pull request Nov 25, 2026
- Update All Games Automatically: upstream now has this switch (auto_update_all,
  elripalda#332, with a per-game opt-out). The fork uses upstream's switch and row instead
  of its own, keeps it on by default, and reads the fork's older
  auto_update_games value as the same switch so a player's choice carries over.
- Settings → Updates → Install RecompLauncher Updates by Itself
  (launcher_auto_install, on by default): the update the clock downloaded installs
  while the window is in the tray or minimized and no game, download or Data Hoarder
  sweep is running. The installer runs with no window, then the launcher starts again
  in the tray (--tray) through a small script, so nothing pops up. While the window
  is in use it waits for Update Now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UbxXbjtP87JJfad1i8BefT
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.

2 participants