From 4598bfe8d0406962edd424252b80cc04eab2c3a4 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 21 Oct 2024 21:04:28 +0200 Subject: [PATCH] using powershell builtin instead of curl --- install_windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_windows.ps1 b/install_windows.ps1 index ef99a3f..bb100f0 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -117,7 +117,7 @@ function ProcessUrlFiles } Write-Host "Downloading $fileName from $url$conditional..." -ForegroundColor Cyan - curl -LO $url + Invoke-RestMethod $url -OutFile $fileName$extension $tmpDestination = "$tmpApp\$fileName$extension" # Copy only if destination is provided