Repository navigation
Update the Frame install with --update, or from an Updates tab in the game - #12
Merged
Merged
Conversation
… the game --update reuses the options an install was made with (saved to install.conf in the work dir) and builds nothing when the Frame already has the newest release and Retro Rewind pack; --check only reports. The installed release is stamped as .release-tag beside the game on the Frame. An install built on the Frame itself (--frame local) also gets a systemd user service the game's new Updates tab starts: the update runs in the background at low priority, writes each step and the build percentage to a status file the tab shows, and reopens the game at the end if it was closed. Progress does not go through Steam notifications: on the Frame, Steam receives them from steam_notif_daemon but does not display them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UyuWx5hNrMpf9R78FZFcbA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Mitch · project thread
Before: updating meant running the whole install command again with every option repeated, and it started the build container even when nothing had changed. The game had no way to tell you whether a newer release existed.
After:
steam-frame-install.sh --updaterepeats the install with its saved options and builds nothing when the Frame already has the newest release and Retro Rewind pack.--checkonly reports. An install built on the Frame itself (--frame local) gets an Updates tab in the settings panel: it checks for a new release and builds it in the background while the game stays open, showing each step and the build percentage, then tells you to restart. If you close the game meanwhile, the update carries on and reopens the game when it's done.How: each install saves its options to
install.confin the work dir and stamps the release as.release-tagbeside the game on the Frame, so the check compares the Frame itself against GitHub releases and Retro Rewind's server. For--frame localinstalls, the script writesupdate.confnext toConfig.tomland awiicompiled-update.servicesystemd user service (Nice 19, idle IO). The newruntime/src/update_check.cppruns the script's--check, starts the service, and reads a status file the script writes at every step and every percent of the ninja build. The game doesn't carry its own HTTPS client: the existing mbed TLS code is the guest Wii SSL layer.Progress is not sent as Steam notifications. That was tried on a Frame: SteamOS's
steam_notif_daemonhands notifications to an x86 Steam binary that can't run on ARM64, and Steam doesn't display them even when given the notification URL directly (its own log showsExecuteSteamURLand nothing appears). The README,docs/releases/frame-beta-3.mdand a comment in the script record this.Testing: script paths (up to date, update available, unknown release, missing install, relaunch only when the game is closed, build-progress parsing) were run against the real releases feed with stand-in commands.
update_check.cppwas exercised through a small harness driving the real script. The ImGui tab could not be compiled here (imgui and SDL are fetched at build time), so it needs a real build.🤖 Generated with Claude Code
https://claude.ai/code/session_01UyuWx5hNrMpf9R78FZFcbA
Generated by Claude Code