From e4a083ccccc02f08c5925029c7cb4818996fe89b Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Fri, 14 Oct 2022 10:47:30 +0800 Subject: [PATCH] Update windows-publish.ps1 --- .github/scripts/windows-publish.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/scripts/windows-publish.ps1 b/.github/scripts/windows-publish.ps1 index 436f9656..6f931d23 100644 --- a/.github/scripts/windows-publish.ps1 +++ b/.github/scripts/windows-publish.ps1 @@ -62,6 +62,13 @@ function Main() { $webengineqm="{0}\translations\qtwebengine_*.qm" -f $env:QTDIR.Trim() Write-Host "copy qtwebengine qm from $($webengineqm)" Copy-Item $webengineqm $archiveName\locale\ + + $multimedia="{0}\plugins\multimedia" -f $env:QTDIR.Trim() + if(Test-Path $multimedia){ + Write-Host "copy multimedia $($multimedia) to plugins" + Copy-Item -Path $multimedia -Destination $archiveName\plugins -Recurse + } + Write-Host "compress zip..." # 打包zip Compress-Archive -Path $archiveName -DestinationPath $archiveName'.zip'