Update winget-upgrade.ps1
parent
9276d1b48b
commit
ce917d7483
|
@ -61,7 +61,7 @@ function Test-Network {
|
||||||
while (!$ping -and $timeout -lt 1800){
|
while (!$ping -and $timeout -lt 1800){
|
||||||
try{
|
try{
|
||||||
Invoke-RestMethod -Uri 'https://en.wikipedia.org/api/rest_v1/'
|
Invoke-RestMethod -Uri 'https://en.wikipedia.org/api/rest_v1/'
|
||||||
Write-Log "Coonected !" "Green"
|
Write-Log "Connected !" "Green"
|
||||||
$ping = $true
|
$ping = $true
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue