Fix extracted path from ffmpeg zip.

This commit is contained in:
Erwin de Haan 2019-10-06 22:20:49 +02:00 committed by GitHub
parent c7d1206dcb
commit 3925e1dced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ function Install-FFMPEG {
Expand-Archive "$tempdir/ffmpeg.zip" -DestinationPath "$tempdir/ffmpeg/" -Force | Write-Verbose
if($Architecture -eq 'x64'){
Write-Verbose "Copying Binaries to Jellyfin location"
Get-ChildItem "$tempdir/ffmpeg/ffmpeg-4.0.2-win64-shared/bin" | ForEach-Object {
Get-ChildItem "$tempdir/ffmpeg/bin" | ForEach-Object {
Copy-Item $_.FullName -Destination $installLocation | Write-Verbose
}
}else{