Update: 将子项目从 submodule 转为完整内容

- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用
- 添加所有子项目的完整源代码
- 保留原始 .git 为 .git.bak 备份
This commit is contained in:
freedak
2026-07-04 19:20:46 +08:00
parent 54d6465fa7
commit f7a720204a
3360 changed files with 802660 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# 批量修复 compositions 的 HyperFrames 错误
cd /Users/freedak/Documents/AIProjects/GovAI/videos/fazhitong-promo/compositions
# 修复所有 compositions:添加 data-composition-id, data-width, data-height 到 body
for file in s*.html; do
id=$(basename "$file" .html)
# 在 <body 后面插入属性
sed -i '' "s/<body>/<body data-composition-id=\"$id\" data-width=\"1920\" data-height=\"1080\">/g" "$file"
# 修复资源路径:../assets/ → assets/
sed -i '' 's|../assets/|assets/|g' "$file"
done
echo "批量修复完成"