Android: design review fixes, icon, signed releases, the site's Android downloads
- The design review (docs/design/android-ui.md §17): the move buttons in the bottom bar (snackbars above them), ripple on press, larger ◀ ▶, coordinates over the pieces, readable NAG colors in the light theme, 16 dp edges, the ⋮ menu (game details, copy PGN/FEN, share), "Deeper" next to ▾, TalkBack states, no "*" for unfinished games, "Found N of M", texts. - The penguin as the adaptive icon and on the splash screen; dark window. - Release builds: R8, signing from the environment, androidApp/scripts/release.sh (two APKs, apksigner and 16 KB alignment checks); the release workflow builds them from the repository secrets. - Website: the Android tab with both APKs, "Download for Android" on phones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
68fcabd691
commit
de5ca02a82
54 changed files with 700 additions and 401 deletions
|
|
@ -63,6 +63,7 @@ Packages for every release are on the [Releases](https://github.com/vrubelroman/
|
|||
| Flatpak | `flatpak install --user ChessPenguin-<version>-x86_64.flatpak` |
|
||||
| Windows | unzip `ChessPenguin-<version>-windows-x86_64.zip`, run `ChessPenguin.exe` |
|
||||
| macOS (Apple Silicon) | open `ChessPenguin-<version>-macos-arm64.dmg`, drag ChessPenguin to Applications |
|
||||
| Android 12+ | open `ChessPenguin-<version>-android.apk` (Stockfish built in) or `…-android-noengine.apk` (Stockfish downloaded in the app) on the phone |
|
||||
|
||||
On macOS the app is not signed by Apple yet: the first time, right-click ChessPenguin in
|
||||
Applications and choose **Open** (on macOS 15: System Settings → Privacy & Security → Open Anyway).
|
||||
|
|
@ -72,6 +73,9 @@ official Stockfish 19 (about 80 MB, checked before use, installed for your accou
|
|||
button is also in **Settings → Engines**. A `stockfish` installed on the system is found
|
||||
automatically, any other UCI engine can be added from a file. The Flatpak includes Stockfish.
|
||||
|
||||
The **Android app** views databases and games (the same formats), with the notation under
|
||||
the board and Stockfish. The two APKs install over each other; databases and settings are kept.
|
||||
|
||||
### Build from source
|
||||
|
||||
Rust 1.97 or newer. On Debian/Ubuntu: `sudo apt install pkg-config libasound2-dev libxkbcommon-dev libwayland-dev`.
|
||||
|
|
@ -94,8 +98,12 @@ cargo run --release -p chesspenguin -- examples/classics.pgn
|
|||
- `crates/chess-core` — game tree, tolerant PGN import/export.
|
||||
- `crates/uci` — UCI engine process supervisor.
|
||||
- `apps/desktop` — the egui application.
|
||||
- `crates/mobile-api`, `androidApp` — the core for the Android app and the app itself.
|
||||
- `packaging/` — desktop entry, AppStream metadata, icons, deb/rpm, AppImage and Flatpak recipes.
|
||||
|
||||
The Android app is `androidApp/` (Kotlin, Jetpack Compose) over the same Rust core
|
||||
(`crates/mobile-api`, UniFFI); `androidApp/scripts/release.sh` builds the two signed APKs.
|
||||
|
||||
Releases are built by GitHub Actions when a `v*` tag is pushed (see `.github/workflows/release.yml`).
|
||||
|
||||
## License
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue