mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 03:11:45 +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