mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 15:13:49 +00:00
using powershell builtin instead of curl
This commit is contained in:
parent
2429e27e43
commit
4598bfe8d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user