Files
site/WESP_REL/scripts/plymouth/README.md
T
2026-07-17 12:57:18 +03:00

39 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Plymouth WESP (800×600)
Тема загрузки с той же пиксельной анимацией логотипа, что на `/starting`.
## Зависимости на устройстве
```bash
sudo apt install plymouth plymouth-themes python3-pil
```
## Из админки
**Система → Заставка загрузки (Plymouth) → «Установить тему Plymouth»** — рендер кадров, копирование темы, `sudo install_wesp_theme.sh`, `update-initramfs -u`.
Нужен **sudo без пароля** для скрипта установки или переменная:
```bash
export WESP_PLYMOUTH_INSTALL_CMD='/usr/bin/sudo /path/to/wesp/scripts/plymouth/install_wesp_theme.sh'
```
## Вручную
```bash
cd /opt/wesp # каталог с wesp/
python3 scripts/plymouth/build_frames.py --out data/plymouth-build
cp install/plymouth/wesp/wesp.plymouth install/plymouth/wesp/wesp.script data/plymouth-build/
sudo bash scripts/plymouth/install_wesp_theme.sh data/plymouth-build
sudo reboot
```
## Файлы
| Путь | Назначение |
|------|------------|
| `install/plymouth/wesp/wesp.script` | Plymouth Script (цикл кадров) |
| `install/plymouth/wesp/wesp.plymouth` | Манифест темы |
| `app/services/plymouth_frame_renderer.py` | Рендер PNG (Pillow) |
| `data/plymouth-build/animation/*.png` | Сгенерированные кадры (~165 шт., 25 fps, 6 с) |