Update winget-upgrade.ps1

pull/2/head
Romanitho 2022-01-16 18:13:11 +01:00 committed by GitHub
parent 9276d1b48b
commit ce917d7483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }