完善自定义 JS/CSS 功能

This commit is contained in:
dushixiang committed 2025-12-30 22:39:05 +08:00
1 parent 1a1ae1198c
commit b984ff4dbb
7 files changed
+73 -68

No files matched your search

+10
View File
@@ -54,6 +54,16 @@ jobs:
run: |
make build-release
# 验证 index.html 模板代码
- name: 验证 index.html 模板代码
run: |
if grep -q "{{.CustomJS}}" web/dist/index.html && grep -q "{{.CustomCSS}}" web/dist/index.html; then
echo "✓ 自定义模板代码已成功添加到 index.html"
else
echo "✗ 自定义模板代码未找到,重新执行 patch-html"
go run cmd/patch-html/main.go
fi
# 列出编译产物
- name: 列出编译产物
run: |