mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Attempt to fix foobar script
This commit is contained in:
parent
e3b568f4ef
commit
1488f34747
24
build.ps1
24
build.ps1
@ -34,27 +34,27 @@ function Init
|
||||
Remove-Item -Path "dependencies" -Recurse -ErrorAction Ignore
|
||||
New-Item dependencies -Type directory -Force | out-null
|
||||
|
||||
Download "https://github.com/kode54/fdk-aac/archive/master.zip" "dependencies\fdk-aac.zip"
|
||||
Download "https://github.com/kode54/qaac/archive/master.zip" "dependencies\qaac.zip"
|
||||
#Download "https://github.com/kode54/fdk-aac/archive/master.zip" "dependencies\fdk-aac.zip"
|
||||
#Download "https://github.com/kode54/qaac/archive/master.zip" "dependencies\qaac.zip"
|
||||
Download "https://www.nuget.org/api/v2/package/wtl/9.1.1" "dependencies\wtl.zip"
|
||||
Download "https://github.com/Microsoft/vswhere/releases/download/2.6.7/vswhere.exe" "dependencies\vswhere.exe"
|
||||
|
||||
Download "https://www.foobar2000.org/SDK" "dependencies\SDK"
|
||||
$key = (Select-String -Path dependencies\SDK -Pattern "\/([a-f0-9]+)\/SDK-2018-01-11\.zip").matches.groups[1]
|
||||
Remove-Item -Path "dependencies\SDK"
|
||||
Download "https://www.foobar2000.org/files/$key/SDK-2018-01-11.zip" "dependencies\foobar.zip"
|
||||
#Download "https://www.foobar2000.org/SDK" "dependencies\SDK"
|
||||
#$key = (Select-String -Path dependencies\SDK -Pattern "\/([a-f0-9]+)\/SDK-2018-01-11\.zip").matches.groups[1]
|
||||
#Remove-Item -Path "dependencies\SDK"
|
||||
Download "https://www.foobar2000.org/files/getfile/SDK-2018-01-11.zip" "dependencies\foobar.zip"
|
||||
|
||||
Unzip "dependencies\fdk-aac.zip" "dependencies\fdk-aac_tmp"
|
||||
Unzip "dependencies\qaac.zip" "dependencies\qaac_tmp"
|
||||
#Unzip "dependencies\fdk-aac.zip" "dependencies\fdk-aac_tmp"
|
||||
#Unzip "dependencies\qaac.zip" "dependencies\qaac_tmp"
|
||||
Unzip "dependencies\wtl.zip" "dependencies\wtl_tmp"
|
||||
Unzip "dependencies\foobar.zip" "dependencies\foobar"
|
||||
|
||||
Move-Item "dependencies\fdk-aac_tmp\fdk-aac-master" "dependencies\fdk-aac"
|
||||
Move-Item "dependencies\qaac_tmp\qaac-master" "dependencies\qaac"
|
||||
#Move-Item "dependencies\fdk-aac_tmp\fdk-aac-master" "dependencies\fdk-aac"
|
||||
#Move-Item "dependencies\qaac_tmp\qaac-master" "dependencies\qaac"
|
||||
Move-Item "dependencies\wtl_tmp\lib\native" "dependencies\wtl"
|
||||
|
||||
Remove-Item -Path "dependencies\fdk-aac_tmp" -Recurse
|
||||
Remove-Item -Path "dependencies\qaac_tmp" -Recurse
|
||||
#Remove-Item -Path "dependencies\fdk-aac_tmp" -Recurse
|
||||
#Remove-Item -Path "dependencies\qaac_tmp" -Recurse
|
||||
Remove-Item -Path "dependencies\wtl_tmp" -Recurse
|
||||
|
||||
[xml]$proj = Get-Content dependencies\foobar\foobar2000\ATLHelpers\foobar2000_ATL_helpers.vcxproj
|
||||
|
Loading…
Reference in New Issue
Block a user