Skip to content

Commit c2a0670

Browse files
committed
fix(build): models 目录提交 .gitkeep 占位,修复 CI resources glob
1 parent 0f93c15 commit c2a0670

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎app/src-tauri/.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
# 模型文件(大文件,不入库;下载/捆绑说明见 AGENTS.md)
1414
/models/
15+
# 保留 .gitkeep 占位:models/ 是 tauri bundle.resources 的 glob 目标,
16+
# CI 无模型文件时空目录会让 glob 匹配失败("path not found"),占位文件保证目录存在
17+
!/models/.gitkeep
1518

1619
# ffmpeg 捆绑二进制(v0.3.0,ADR-008;scripts/download-ffmpeg.ps1 下载)
1720
/ffmpeg/

0 commit comments

Comments
 (0)