From 7830b3c5e89f0339949940b8986bf4849ad7f223 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 21:35:30 +0100 Subject: v4.3.0: package the desktop app with verifiable installers publish.sh builds the GUI with the gui-release profile, names it zagan-bet-gui---, and renders a bash and a PowerShell installer next to each app. Both embed the app's SHA-256, verify the file (or fetch it), install per-user and add a launcher: a desktop entry plus an SVG icon on Linux, a Start-menu shortcut on Windows. The download page gains a Desktop app section with the apps and installers, keeps the terminal client and server, links the public git repository for the GPL source, and lists every file in the sha256sum block. deploy.sh verifies all four artifact kinds. Publishing refuses a dirty tree so the linked history matches the binaries. --- docs/TESTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'docs/TESTING.md') diff --git a/docs/TESTING.md b/docs/TESTING.md index 613cd08..c32ac22 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -266,3 +266,20 @@ terminal client; a saved login from one signs in the other. the row is upgraded to bcrypt. - Spin several times and confirm `plays` grows by one row per spin while `users.balance` changes by `winnings - bet`. + +## Packaging checklist + +1. Set the version in `Cargo.toml` and `gui/Cargo.toml` (same MAJOR.MINOR), + run `cargo test --workspace`, and commit. `publish.sh` refuses a dirty tree + because the site links the committed git history as the GPL source. +2. `./scripts/publish.sh` (add `DEST=` and `URL_BASE=` to stage elsewhere). It + builds the GUI with `gui-release`, the terminal clients and servers, and + renders the bash/PowerShell installers with each app's SHA-256. +3. `php -S 127.0.0.1:8899 -t ` and + `./scripts/deploy.sh http://127.0.0.1:8899/` to upload and verify + every app, installer, client and server against the page's checksums. +4. On a clean user account: download an app with its installer, run the + installer, and launch the new menu entry. The installer must refuse a + corrupted download. +5. Repeat on Windows for the `.ps1` installer and the Start-menu shortcut. + -- cgit v1.2.3