Update install.ps1
This commit is contained in:
parent
29fe64ed42
commit
4c7593359d
1 changed files with 0 additions and 1 deletions
|
|
@ -234,7 +234,6 @@ try {
|
||||||
$downloadSuccess = $false
|
$downloadSuccess = $false
|
||||||
foreach ($cUrl in $candidateUrls) {
|
foreach ($cUrl in $candidateUrls) {
|
||||||
try {
|
try {
|
||||||
Write-Host "[SteamDaddy] Attempting download from: $cUrl" -ForegroundColor Cyan
|
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
Invoke-WebRequest -Uri $cUrl -OutFile $destPath -UseBasicParsing -TimeoutSec 20
|
Invoke-WebRequest -Uri $cUrl -OutFile $destPath -UseBasicParsing -TimeoutSec 20
|
||||||
if ((Test-Path $destPath) -and (Get-Item $destPath).Length -gt 1000000) {
|
if ((Test-Path $destPath) -and (Get-Item $destPath).Length -gt 1000000) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue