Интегрирован wesp в сайт
CI / quality (push) Canceled after 0s

This commit is contained in:
влад
2026-07-17 12:57:18 +03:00
parent 5dfa06ddbe
commit 355c0ef9f1
883 changed files with 194576 additions and 177 deletions
+38
View File
@@ -0,0 +1,38 @@
# 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 с) |