Skip to content

Commit a876c64

Browse files
committed
修复Windows打包模式下的资源文件位置复制位置错误问题
1 parent f7c3931 commit a876c64

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build-unified.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ jobs:
164164
Copy-Item -Recurse -Force dist/SecRandom/* zip_dist/SecRandom/
165165
166166
# 创建app目录
167-
mkdir -p zip_dist/SecRandom/app
167+
mkdir -p zip_dist/SecRandom/data
168168
169169
# 复制data文件夹到zip_dist/SecRandom目录下
170-
Copy-Item -Recurse -Force data zip_dist/SecRandom/app
170+
Copy-Item -Recurse -Force data/* zip_dist/SecRandom/data/
171171
172-
# 复制 LICENSE 文件到zip_dist/SecRandom目录下
173-
Copy-Item LICENSE zip_dist/SecRandom/
172+
# 复制 LICENSE 文件到zip_dist/SecRandom/data目录下
173+
Copy-Item LICENSE zip_dist/SecRandom/data/
174174
175175
# 使用 zip 压缩文件
176176
mkdir zip -Force

0 commit comments

Comments
 (0)