From c6f74c9a1fa19381d5b956c97dbd3467738ab509 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Fri, 10 Oct 2025 10:22:50 +0100 Subject: [PATCH] . --- .github/build_windows_packages.ps1 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 7f39a5b7..606e6089 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -92,6 +92,7 @@ Get-ChildItem -Path $x64Path -Directory | Where-Object { } } +Write-Host "[INFO] Download ffmpeg..." $ffmpegUrl = "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-latest-win64-gpl-shared-7.1.zip" $zipPath = Join-Path $tmpDir "ffmpeg.zip" @@ -148,16 +149,6 @@ DownloadAndUnzip $UVR5_URL "tools\uvr5" # Expand-Archive -Path $funasrZip -DestinationPath "$srcDir\tools\asr\models" -Force # Remove-Item $funasrZip -Write-Host "[INFO] Download ffmpeg..." -$ffUrl = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip" -$ffZip = "$tmpDir\ffmpeg.zip" -Invoke-WebRequest -Uri $ffUrl -OutFile $ffZip -Expand-Archive $ffZip -DestinationPath $tmpDir -Force -$ffDir = Get-ChildItem -Directory "$tmpDir" | Where-Object { $_.Name -like "ffmpeg*" } | Select-Object -First 1 -Move-Item "$($ffDir.FullName)\bin\ffmpeg.exe" "$srcDir\runtime" -Move-Item "$($ffDir.FullName)\bin\ffprobe.exe" "$srcDir\runtime" -Remove-Item $ffZip -Remove-Item $ffDir.FullName -Recurse -Force Write-Host "[INFO] Installing PyTorch..." & ".\runtime\python.exe" -m ensurepip