Rodent IV on macOS: its home is its own folder, so it offers its personalities
Some checks failed
Rodent IV / build (rodent-iv-macos-arm64, macos-14) (push) Has been cancelled
Rodent IV / build (rodent-iv-windows-x86_64.exe, windows-latest) (push) Has been cancelled
Rodent IV / publish (push) Has been cancelled
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rodent IV / build (rodent-iv-linux-x86_64, ubuntu-22.04) (push) Failing after 1s
Some checks failed
Rodent IV / build (rodent-iv-macos-arm64, macos-14) (push) Has been cancelled
Rodent IV / build (rodent-iv-windows-x86_64.exe, windows-latest) (push) Has been cancelled
Rodent IV / publish (push) Has been cancelled
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rodent IV / build (rodent-iv-linux-x86_64, ubuntu-22.04) (push) Failing after 1s
On macOS the authors left the engine's home folder unset (a comment where _NSGetExecutablePath should be). With an empty home every folder was taken relative to the one it changed into last: reading basic.ini it went into personalities/ and found none of the personality files, so the Personality option was not offered and ChessPenguin's «Personality = Tal» was refused — «Rodent did not start». home-dir.patch now takes the executable's folder there too, as on Linux and Windows. Reproduced on Linux with the home left empty and checked with _NSGetExecutablePath shimmed: the play crate's Rodent IV game fails before and passes after. The workflow now checks that the engine, in a folder with a space and started from elsewhere, offers «Tal». Tasks: the Android screenshots done; two copies of the program put off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
12e4c7d5e9
commit
f8a2c6ffa3
3 changed files with 54 additions and 6 deletions
|
|
@ -32,7 +32,7 @@
|
|||
- ссылки с GitHub, AUR, Flathub (если будет), шахматных форумов.
|
||||
|
||||
### 3. Сайт: скриншоты Android, если сайт открыт с Android
|
||||
- **Статус:** новая.
|
||||
- **Статус:** сделано (2026-10-27): семь отдельных экранов телефона под «На телефоне» открывают галерею и просмотр, в шапке — четыре экрана рядом; остальным посетителям — как раньше.
|
||||
- **Добавлено:** 2026-10-24.
|
||||
- **Цель:** посетитель с телефона на Android видит в галерее и в шапке снимки мобильного приложения, а не десктопа; с компьютера — как сейчас.
|
||||
- **С чего начать:**
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
- **Мысли:** поле комментария под нотацией или по двойному клику/клавише у хода; запись через `Game::annotate` (уже есть, с Undo); комментарии до хода и после; NAG-символы (!, ?, ±…) той же панелью; сохранение в свою базу — Ctrl+S (задача «свои базы»).
|
||||
|
||||
### 10. Две запущенные копии программы затирают полку друг друга
|
||||
- **Статус:** новая (баг, 2026-10-25).
|
||||
- **Статус:** отложено (2026-10-27): по словам владельца, случается только на тестовом компьютере, где одновременно стоят сборка и установленная версия; обычных пользователей не задевает.
|
||||
- **Как нашли:** владелец создал базы «MyBase» и «mуBase2» в новой сборке, а в это время работала установленная 1.0.3. Файлы на месте (`~/Documents/ChessPenguin/`), но с полки пропали.
|
||||
- **Причина:** `Settings::save` (`apps/desktop/src/settings.rs`) пишет файл настроек целиком из памяти своей копии. Копия, загруженная раньше, при сохранении (выбор базы, выход) возвращает старый список баз и всё остальное.
|
||||
- **Варианты:** (а) одна копия программы: второй запуск поднимает окно первой (замок + сигнал; на трёх системах по-разному); (б) сохранять только изменённое: при записи перечитать файл и взять с диска поля, которые эта копия не меняла (трёхстороннее слияние по ключам JSON), а полку объединять; (в) обе копии следят за файлом и перечитывают его.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue