mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-25 10:51:46 +00:00
replace with Invoke-WebRequest for optimizations in commit fa7d942
This commit is contained in:
parent
b5a56cd60e
commit
3e07cfaa12
@ -132,7 +132,7 @@ function ProcessUrlFiles
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Downloading $fileName from $url$conditional..." -ForegroundColor Cyan
|
Write-Host "Downloading $fileName from $url$conditional..." -ForegroundColor Cyan
|
||||||
Invoke-RestMethod $url -OutFile $fileName$extension
|
Invoke-WebRequest $url -OutFile $fileName$extension
|
||||||
$tmpDestination = "$tmpApp\$fileName$extension"
|
$tmpDestination = "$tmpApp\$fileName$extension"
|
||||||
|
|
||||||
# Copy only if destination is provided
|
# Copy only if destination is provided
|
||||||
|
Loading…
Reference in New Issue
Block a user