mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-21 10:39:47 +08:00
WIP
This commit is contained in:
parent
0429c54877
commit
e1cfd460f9
9
.github/build_windows_packages.ps1
vendored
9
.github/build_windows_packages.ps1
vendored
@ -21,7 +21,7 @@ Write-Host "[INFO] Cleaning .git..."
|
||||
Remove-Item "$srcDir\.git" -Recurse -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Write-Host "[INFO] Creating tmp dir..."
|
||||
New-Item -ItemType Directory -Force -Path $tmpDir | Out-Null
|
||||
New-Item -ItemType Directory -Force -Path $tmpDir
|
||||
|
||||
Write-Host "[INFO] Downloading Python..."
|
||||
$zst = "$tmpDir\python.tar.zst"
|
||||
@ -98,12 +98,11 @@ Expand-Archive -Path $nltkZip -DestinationPath $prefix -Force
|
||||
Remove-Item $nltkZip
|
||||
|
||||
Invoke-WebRequest -Uri $JTALK_URL -OutFile $jtalkTar
|
||||
& "C:\Program Files\7-Zip\7z.exe" x $jtalkTar -o$tmpDir\jtalk -aoa
|
||||
$innerTar = Get-ChildItem "$tmpDir\jtalk" -Filter "*.tar" | Select-Object -First 1
|
||||
& "C:\Program Files\7-Zip\7z.exe" e $jtalkTar -o"$tmpDir" -aoa
|
||||
$innerTar = Get-ChildItem "$tmpDir" -Filter "*.tar" | Select-Object -First 1
|
||||
& "C:\Program Files\7-Zip\7z.exe" x $innerTar.FullName -o"$jtalkPath" -aoa
|
||||
|
||||
Remove-Item $jtalkTar
|
||||
Remove-Item "$tmpDir\jtalk" -Recurse -Force
|
||||
Remove-Item $innerTar.FullName
|
||||
|
||||
Write-Host "[INFO] Preparing final directory..."
|
||||
Copy-Item "$srcDir\*" -Destination $pkgName -Recurse -Force
|
||||
|
Loading…
x
Reference in New Issue
Block a user