fix: assets/drivers 目录缺失导致 Windows 构建失败
pubspec 声明了 assets/drivers/ 目录资产,但 dmg 被 gitignore 后整目录都不在 仓库里——全新 clone(Windows 机器)构建即报 "unable to find directory entry in pubspec.yaml"。 修复:目录内提交 README.md 占位(随 git 保留目录),.gitignore 从忽略整目录 改为只忽略 assets/drivers/*.dmg。mac 打包机放 dmg 后行为不变;Windows 机器 目录为空可正常构建,向导自动降级为官网链接模式(bundledDmgPath 找不到 .dmg 返回 null 的降级路径已实现)。
This commit is contained in:
1 parent
fb399ae8f6
commit
e07575d020
3 files changed
+76
-67
No files matched your search
+1
-1
@@ -44,4 +44,4 @@ app.*.map.json
|
||||
/android/app/profile
|
||||
/android/app/release
|
||||
/dist/
|
||||
assets/drivers/
|
||||
assets/drivers/*.dmg
|
||||
Reference in new issue
Block a user