mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-10 04:58:08 +08:00
Provisioning: Hide powershell progress bar for performance
Change-Id: I74abdcc2e7d2dccf4f85cd64fe5fb4b56e54d613 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
This commit is contained in:
@@ -69,6 +69,7 @@ function Download
|
|||||||
[string] $CachedUrl = $(BadParam("the locally cached URL")),
|
[string] $CachedUrl = $(BadParam("the locally cached URL")),
|
||||||
[string] $Destination = $(BadParam("a download target location"))
|
[string] $Destination = $(BadParam("a download target location"))
|
||||||
)
|
)
|
||||||
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
try {
|
try {
|
||||||
if ($CachedUrl.StartsWith("http")) {
|
if ($CachedUrl.StartsWith("http")) {
|
||||||
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
|
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
|
||||||
|
|||||||
Reference in New Issue
Block a user