Bundle Stockfish 19 with every package and set it up on first start
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run

- packaging/stockfish.sh fetches the pinned official universal build (SHA-256
  checked) for Linux and Windows and the source archive for the release.
- deb/rpm/Arch, AppImage, Flatpak, tarball and Windows zip ship it unmodified
  (AppImage: added after linuxdeploy, packed with appimagetool).
- The app resolves the built-in engine at run time (EngineConfig::builtin),
  adds it on first start (or a system stockfish), and offers engines found on
  the computer in Settings > Engines.
- install.sh installs Stockfish into ~/.local/lib/chesspenguin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubel 2026-10-18 11:53:30 +03:00
parent 6db8d67821
commit 56cfb4d09f
22 changed files with 383 additions and 35 deletions

View file

@ -30,11 +30,11 @@
Пакеты каждого релиза — на странице [Releases](https://github.com/vrubelroman/chessPenguin/releases):
`.deb`, `.rpm`, AppImage, Flatpak и архив для Windows. Команды установки — в [README.md](README.md#install).
Движок в комплект не входит: установите Stockfish (`sudo apt install stockfish` или
[stockfishchess.org](https://stockfishchess.org/download/)) и добавьте его в **Настройки → Движки**.
**Stockfish 19 входит в комплект** и настраивается при первом запуске: установил и анализируешь.
Системный `stockfish` тоже находится автоматически, другие UCI-движки добавляются в **Настройки → Движки**.
Сборка из исходников: Rust 1.97+, затем `cargo run --release -p chesspenguin`
или `./scripts/install.sh` для установки в `~/.local`.
или `./scripts/install.sh` для установки в `~/.local` вместе со Stockfish (`--no-stockfish` — без него).
## Лицензия