mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
make github actions pack ffmpeg dll if necessary. #1451
This commit is contained in:
parent
4efb4ee8a7
commit
0b47a9d69c
8
.github/scripts/windows-publish.ps1
vendored
8
.github/scripts/windows-publish.ps1
vendored
|
@ -70,6 +70,14 @@ function Main() {
|
|||
# Copy-Item -Path $multimedia -Destination $archiveName\plugins -Recurse
|
||||
# }
|
||||
|
||||
$multimedia_ffmpeg_av_dll="{0}\bin\av*.dll" -f $env:QTDIR.Trim()
|
||||
$multimedia_ffmpeg_sw_dll="{0}\bin\sw*.dll" -f $env:QTDIR.Trim()
|
||||
if (Test-Path $multimedia_ffmpeg_av_dll && Test-Path $multimedia_ffmpeg_sw_dll) {
|
||||
Write-Host "copy multimedia_ffmpeg_dlls $($multimedia_ffmpeg_av_dll) $($multimedia_ffmpeg_sw_dll) from qt"
|
||||
Copy-Item -Path $multimedia_ffmpeg_av_dll -Destination $archiveName\plugins -Recurse
|
||||
Copy-Item -Path $multimedia_ffmpeg_sw_dll -Destination $archiveName\plugins -Recurse
|
||||
}
|
||||
|
||||
Write-Host "compress zip..."
|
||||
# 打包zip
|
||||
Compress-Archive -Path $archiveName -DestinationPath $archiveName'.zip'
|
||||
|
|
Loading…
Reference in a new issue