Different download method

This commit is contained in:
Andy Adshead 2019-06-05 04:24:26 +01:00
parent 4b82fe5218
commit 06201dd1a8

View file

@ -26,9 +26,10 @@ build_script:
Move-Item -Path "$env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\publish\" -Destination "$env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\Ryujinx\bin\"
Move-Item -Path "$env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\Ryujinx\bin\Config.jsonc" -Destination "$env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\Ryujinx\Config.jsonc"
(New-Object Net.WebClient).DownloadFile('https://github.com/BaronKiko/RyujinxWrapper/releases/download/0/RyujinxWrapper.exe', '$env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\Ryujinx\Ryujinx.exe')
$source = "https://github.com/BaronKiko/RyujinxWrapper/releases/download/0/RyujinxWrapper.exe"
$destination = "$env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\Ryujinx\Ryujinx.exe"
Invoke-WebRequest $source -OutFile $destination
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-win_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp2.1\win-x64\Ryujinx\