Speed up Windows Powershell download (#1798)
## Description Don't count downloaded bytes when using Powershell's Invoke-WebRequest. This speeds up downloads. ## Type of change - [x] 🐛 Bugfix - [x] 🗺️ Documentation ## Issue(s) * Closes #1746 ## Test Plan - [x] 💪 Manual
This commit is contained in:
parent
a2330bc314
commit
e0444aa417
@ -10,7 +10,8 @@ import {Version} from '@site/src/corsoEnv';
|
||||
<TabItem value="win" label="Windows (Powershell)">
|
||||
|
||||
<CodeBlock language="powershell">{
|
||||
`Invoke-WebRequest \`
|
||||
`$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest \`
|
||||
-Uri https://github.com/alcionai/corso/releases/download/${Version()}/corso_${Version()}_Windows_x86_64.zip \`
|
||||
-UseBasicParsing -Outfile corso_${Version()}_Windows_x86_64.zip
|
||||
Expand-Archive .\\corso_${Version()}_Windows_x86_64.zip`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user