Skip to content

Big Picture: the launcher's own update gets a row on the Downloads page - #139

Merged
elripalda merged 1 commit into
elripalda:mainfrom
Xarishark:fix/tv-downloads-launcher-update
Nov 13, 2026
Merged

elripalda merged 1 commit into
elripalda:mainfrom
Xarishark:fix/tv-downloads-launcher-update

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Series: launcher updates and Big Picture fixes. Merge one at a time, in this order. Each one stays a draft until the one before it is in.

  1. Big Picture B no longer dismisses a busy dialog #127 Big Picture: B no longer closes a busy dialog
  2. Big Picture: the launcher's own update gets a row on the Downloads page #139 Big Picture: Downloads gets a launcher update row
  3. Big Picture: What's New sized for the TV, and messages centred #140 Big Picture: What's New sized for the TV, messages centred
  4. Mac: the launcher updates itself from the release's disk image, with rollback #126 Mac: the launcher updates itself, with rollback
  5. linux appimage self update #125 Linux: the AppImage updates itself

This is 2 of 5. Merges cleanly after #127.


Fixes the Big Picture Downloads page when a newer RecompLauncher is out. The Downloads tab's badge already counted the launcher update (updatesReady() adds S.launcherUpd ? 1 : 0), but pageDownloads() only listed game jobs, game updates and recent installs, so the badge showed 1 on a page that said "Nothing downloading." with nothing to press. This is on main and affects every platform.

  • pageDownloads() puts a first row for RecompLauncher itself when S.launcherUpd is set: the mark as its picture, and the desktop's own (already translated) words, "RecompLauncher {version} is ready" / "You have {version}. It updates in a moment and opens again by itself.", with an "Update now" pill.
  • A on it (data-tvact="selfupdate") calls the same selfUpdate() the desktop sidebar, Downloads page and toasts use.
  • tests/tv-downloads.test.cjs runs pageDownloads() and activate() in node:vm: the row is there with an update, missing without one, and A calls selfUpdate().

Tested: node --check ui/tv.js, node --test tests/*.test.cjs (69 pass) and cargo test --manifest-path src-tauri/Cargo.toml --locked (408 pass), on Linux.

@Xarishark
Xarishark marked this pull request as draft November 13, 2026 03:12
@elripalda
elripalda marked this pull request as ready for review November 13, 2026 06:05
@elripalda
elripalda merged commit 0fc60c4 into elripalda:main Nov 13, 2026
4 checks passed
@Xarishark
Xarishark deleted the fix/tv-downloads-launcher-update branch November 23, 2026 23:56
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