add # 新增使用开源字体

This commit is contained in:
2026-10-26 11:34:00 +08:00
parent dc17f7f65c
commit 22cfddcf06
68 changed files with 1772 additions and 461 deletions
+13 -1
View File
@@ -49,7 +49,19 @@ jobs:
python-version: '3.10'
- name: Verify external asset manifest
run: python scripts/check_asset_manifest.py
- run: python scripts/build_nonebot.py --output dist/nonebot-preview
- name: Install help rendering dependencies
run: |
python -m pip install "Pillow>=10.4,<13"
sudo apt-get update
sudo apt-get install -y fonts-noto-cjk
- run: python scripts/ci_font.py
- name: Generate NoneBot help menu
run: >-
python scripts/preview_help.py --platform nonebot
--output runtime/help-images/images
- run: >-
python scripts/build_nonebot.py --output dist/nonebot-preview
--help-image runtime/help-images/images/help-nonebot.png
- run: >-
python scripts/verify_nonebot.py
--directory dist/nonebot-preview/repository