using powershell builtin instead of curl

This commit is contained in:
Baipyrus 2024-10-21 21:04:28 +02:00
parent 2429e27e43
commit 4598bfe8d0

View File

@ -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