From 3c0cd276bc2dac39b1e76fe380cea654c9acadb5 Mon Sep 17 00:00:00 2001 From: Mark Tiedemann Date: Thu, 23 Jun 2022 16:26:39 +0200 Subject: [PATCH] perf: improve performance of PowerShell installer (#219) --- install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index e7352c8..758f3af 100644 --- a/install.ps1 +++ b/install.ps1 @@ -35,9 +35,9 @@ if (!(Test-Path $BinDir)) { New-Item $BinDir -ItemType Directory | Out-Null } -Invoke-WebRequest $DenoUri -OutFile $DenoZip -UseBasicParsing +curl.exe -Lo $DenoZip $DenoUri -Expand-Archive $DenoZip -Destination $BinDir -Force +tar.exe xf $DenoZip -C $BinDir Remove-Item $DenoZip