Set 'ProgressPreference' to silent to speed up download of main patch payload
This commit is contained in:
parent
f5de9d003d
commit
2d1ae58628
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue