aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Sarajärvi <tony.sarajarvi@qt.io>2017-09-04 12:17:45 +0300
committerTony Sarajärvi <tony.sarajarvi@qt.io>2017-09-04 12:12:17 +0000
commita7b1b0035075b3a44e9e8e3801edf896501f6511 (patch)
treeef32212d5ea21ea9f3bd635e13c410c1a4ef1a9d
parentdbf737a5c098ffe5c38413c2f289790d87ec6131 (diff)
Provisioning: Hide powershell progress bar for performance
Change-Id: I74abdcc2e7d2dccf4f85cd64fe5fb4b56e54d613 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
-rw-r--r--coin/provisioning/common/helpers.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/coin/provisioning/common/helpers.ps1 b/coin/provisioning/common/helpers.ps1
index 846f58a5..b957603a 100644
--- a/coin/provisioning/common/helpers.ps1
+++ b/coin/provisioning/common/helpers.ps1
@@ -69,6 +69,7 @@ function Download
[string] $CachedUrl = $(BadParam("the locally cached URL")),
[string] $Destination = $(BadParam("a download target location"))
)
+ $ProgressPreference = 'SilentlyContinue'
try {
if ($CachedUrl.StartsWith("http")) {
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination