Update winget-upgrade.ps1
parent
9d5532aa90
commit
8ee8c5ba5a
|
@ -94,8 +94,7 @@ function Test-Network {
|
||||||
try{
|
try{
|
||||||
Invoke-RestMethod -Uri "https://api.github.com/zen"
|
Invoke-RestMethod -Uri "https://api.github.com/zen"
|
||||||
Write-Log "Connected !" "Green"
|
Write-Log "Connected !" "Green"
|
||||||
$ping = $true
|
return $true
|
||||||
return $ping
|
|
||||||
}
|
}
|
||||||
catch{
|
catch{
|
||||||
Start-Sleep 10
|
Start-Sleep 10
|
||||||
|
|
Loading…
Reference in New Issue