This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2017-09-16 06:56:50 +00:00
|
|
|
if (!(Test-Path redist\installerbase_win.exe)) {
|
2017-09-16 07:23:39 +00:00
|
|
|
echo "Downloading dependencies..."
|
|
|
|
if (!(Test-Path redist)) {
|
|
|
|
New-Item -path . -name redist -itemtype directory
|
|
|
|
}
|
|
|
|
Invoke-WebRequest -Uri "https://github.com/citra-emu/ext-windows-bin/raw/master/qtifw/windows.zip" -OutFile windows.zip
|
|
|
|
echo "Extracting..."
|
|
|
|
Expand-Archive windows.zip -DestinationPath redist
|
2017-09-16 06:56:50 +00:00
|
|
|
} else {
|
2017-09-16 07:23:39 +00:00
|
|
|
echo "Found pre-downloaded redist."
|
2017-09-16 06:56:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
echo "Building Qt Installer to '.\citra-installer-windows.exe'..."
|
|
|
|
.\redist\binarycreator_win.exe -t .\redist\installerbase_win.exe -n -c .\config\config_windows.xml -p .\packages\ citra-installer-windows
|