fix windows ci release.
All checks were successful
Build Applications / PullDocker (push) Successful in 9s
Build Applications / Build (push) Successful in 3m0s
Deploy Release / Build (push) Successful in 3m45s
Release tag / build (push) Successful in 4m18s
Windows CI / build (push) Successful in 3m17s

This commit is contained in:
amass 2024-10-04 07:49:05 +08:00
parent b8830003e8
commit 57a438b4d4

View File

@ -51,10 +51,12 @@ function Deploy() {
Copy-Item -Path $qtHome\bin\Qt6$module.dll -Destination $deployPath
}
New-Item $deployPath\qml\QtCore -ItemType Directory
$plugins = "qtqmlcoreplugin.dll", "qmldir", "plugins.qmltypes"
foreach ($plugin in $plugins) {
Copy-Item -Path $QtHome\qml\QtCore\$plugin -Destination $deployPath\qml\QtCore
if (-Not (Test-Path -Path $deployPath\qml\QtCore)) {
New-Item $deployPath\qml\QtCore -ItemType Directory
$plugins = "qtqmlcoreplugin.dll", "qmldir", "plugins.qmltypes"
foreach ($plugin in $plugins) {
Copy-Item -Path $QtHome\qml\QtCore\$plugin -Destination $deployPath\qml\QtCore
}
}
Copy-Item $openSSLRoot\bin\libssl-3-x64.dll $deployPath