Set 'ProgressPreference' to silent to speed up download of main patch payload

This commit is contained in:
Talia123 2025-09-03 22:37:19 +01:00
parent f5de9d003d
commit 2d1ae58628

View file

@ -84,7 +84,7 @@ set "escaped_cd=%CD:'=''%"
REM Download zip file
echo "Downloading latest patch..."
!_my_shell! -Command "Set-Location -LiteralPath '%escaped_cd%'; Invoke-WebRequest -Uri 'https://gitgud.io/%username%/%repo%/-/archive/%branch%/%repo%-%branch%.zip' -OutFile 'repo.zip'"
!_my_shell! -Command "Set-Location -LiteralPath '%escaped_cd%'; $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri 'https://gitgud.io/%username%/%repo%/-/archive/%branch%/%repo%-%branch%.zip' -OutFile 'repo.zip'"
if !errorlevel! neq 0 (
pause
exit /b