mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Update windows-publish.ps1
This commit is contained in:
parent
1077ccb82b
commit
e4a083cccc
7
.github/scripts/windows-publish.ps1
vendored
7
.github/scripts/windows-publish.ps1
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue