mirror of https://github.com/jellyfin/jellyfin.git
Fix extracted path from ffmpeg zip.
This commit is contained in:
parent
c7d1206dcb
commit
3925e1dced
|
@ -60,7 +60,7 @@ function Install-FFMPEG {
|
||||||
Expand-Archive "$tempdir/ffmpeg.zip" -DestinationPath "$tempdir/ffmpeg/" -Force | Write-Verbose
|
Expand-Archive "$tempdir/ffmpeg.zip" -DestinationPath "$tempdir/ffmpeg/" -Force | Write-Verbose
|
||||||
if($Architecture -eq 'x64'){
|
if($Architecture -eq 'x64'){
|
||||||
Write-Verbose "Copying Binaries to Jellyfin location"
|
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
|
Copy-Item $_.FullName -Destination $installLocation | Write-Verbose
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue