Repository navigation
1.11.0 - check for updates
Check for updates. The launcher now keeps itself current from this repository's releases. It asks api.github.com for the newest release of phoenixd123/sh3-pc (no key, no account), compares its tag with the version it was built as, and when there is a newer one it opens an Updates screen at start-up: A downloads and installs it, B plays the version you have.
Installing downloads the release's -win64.zip, unpacks sh3-pc-launcher.exe, SDL2.dll and README.txt beside the launcher and starts it again. Windows locks a running .exe and its DLLs, so a small script waits for the launcher to end, copies the files in (retrying while the lock is held) and starts it. Only those files are written: sh3.ini, sh3-pc.ini, savedata/ and mods/ are left alone.
Check for updates is in the menu too, for asking by hand: it shows the release's name and size, and the reason when the check cannot be made (no connection, GitHub rate limiting, no release yet). Options > Auto update (autoupdate=1/0, the default is on) turns the start-up check off. The check runs on its own thread while the warning screen is up, so it never holds the menu.
A build made from source is named sh3.exe, not sh3-pc-launcher.exe: it is told it is updated by rebuilding, and nothing is offered to install.
Checked here: the version comparison, the newest release found with its win64 zip, the download and the staging step, all against a local stand-in for the GitHub API; and the launcher itself with scripted keys - the menu row ran the check and A staged a newer release and exited for the restart, the start-up check did the same without touching the menu, a build already at the newest version said so and B went back, and a sh3.exe build installed nothing. Not checked: the install script was not allowed to run here (SH3_UPDATE_DRYRUN=1), so no real file was replaced, and nothing was tried against the live API or on a Deck.
sh3-pc-launcher-1.11.0-win64.zip sha256 ca9785ad965239a8617b616f33e1670bf71774901988b67e986a134c3c76be69