This commit is contained in:
朱子楚\zhuzi
2024-03-18 14:10:50 +08:00
parent df2e461084
commit 47bde34671
8 changed files with 41 additions and 27 deletions

View File

@ -17,7 +17,7 @@ function Main() {
New-Item -ItemType Directory dist
# 拷贝exe
Copy-Item bin\release\* dist\ -Force -Recurse | Out-Null
Copy-Item bin\Release\* dist\ -Force -Recurse | Out-Null
# 拷贝依赖
windeployqt --qmldir . --plugindir dist\plugins --no-translations --compiler-runtime dist\$targetName
# 删除不必要的文件

View File

@ -27,7 +27,7 @@ function Main() {
New-Item -ItemType Directory dist
# 拷贝exe
Copy-Item bin\release\* dist -Force -Recurse | Out-Null
Copy-Item bin\Release\* dist -Force -Recurse | Out-Null
# 拷贝依赖
windeployqt --qmldir . --plugindir dist\plugins --no-translations --compiler-runtime dist\$targetName
# 删除不必要的文件