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

@ -12,6 +12,7 @@ egui/eframe 0.36 (wgpu, Wayland/X11). Бинарник `chesspenguin`, app id `i
| `notation.rs` | Нотация: основная линия таблицей в две колонки, комментарии/варианты блоками, вложенные варианты в скобках |
| `board.rs` | Виджет доски: клик/drag, превращение, рокировка кликом на поле короля или ладью, стрелки, круги |
| `analysis.rs` | Контроллер анализа поверх `uci`: запуск в фоне, привязка результатов к истории позиции, MultiPV |
| `engines.rs` | Поиск движков: встроенный Stockfish (`<prefix>/lib/chesspenguin/stockfish` или `stockfish/` рядом с exe), системный `stockfish` в `PATH`; настройка при первом запуске, подсказки в настройках |
| `report.rs` | Метрики анализа партии без UI: шанс на победу, точность хода и партии, неточность/ошибка/зевок, средняя потеря сантипешек, стадии партии (формулы Lichess) |
| `review.rs` | Анализ партии целиком: фоновый поток с собственным процессом движка (`go nodes N`), кэш, `[%eval]` из PGN, график, вкладка «Отчёт», окно запуска, запись анализа в партию |
| `assets.rs`, `sound.rs` | Встроенные SVG-фигуры, темы доски, звуки (rodio в отдельном потоке) |