Two things change so the operator never has to SSH for a launcher release. 1. SignManifest::run() now also re-hashes the manifest's `launcher` section. It looks for builds/launcher/<basename of launcher.url>; falls back to a tolerant glob *<version>*.exe if the exact name isn't found. Updates sizeBytes + sha256 in place. The Ed25519 sign step at the end already covered this branch — it was just blank data before. 2. admin/versions.php has a new "Auto-update du launcher" card above the manifest table. Shows the announced version + minRequired, the exe presence badge and the hash status, and a small form to set or update the launcher entry (version + minRequired only — URL is derived from base_url + version automatically). A "Retirer la section" button disables the auto-update by deleting the launcher key from versions.json. Lists the .exe files present in builds/launcher/ for visibility. Workflow now: edit the version in the form → SFTP-upload PSLauncher-X.Y.Z.exe to builds/launcher/ → click "🔁 Sync" once → manifest is hashed and signed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6.4 KiB
6.4 KiB