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_astrbot.py --output dist/astrbot-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 AstrBot help menu
run: >-
python scripts/preview_help.py --platform astrbot
--output runtime/help-images/images
- run: >-
python scripts/build_astrbot.py --output dist/astrbot-preview
--help-image runtime/help-images/images/help-astrbot.png
- name: Verify AstrBot package
shell: bash
run: |
+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
+11
View File
@@ -59,10 +59,21 @@ jobs:
python-version: '3.12'
- name: Verify external asset manifest
run: python scripts/check_asset_manifest.py
- 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 Zhenxun help menu
run: >-
python scripts/preview_help.py --platform zhenxun
--output runtime/help-images/images
- name: Build selected target only
run: >-
python scripts/build_zhenxun.py
--output dist/zhenxun-preview
--help-image runtime/help-images/images/help-zhenxun.png
- name: Copy standalone helper scripts
run: |
cp scripts/install_zhenxun.py dist/zhenxun-preview/