Update winget-upgrade.ps1

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

View File

@ -60,7 +60,7 @@ function Test-Network {
Write-Log "Checking internet connection..." "Yellow"
while (!$ping -and $timeout -lt 1800){
try{
Invoke-RestMethod -Uri 'https://en.wikipedia.org/api/rest_v1/'
Invoke-RestMethod -Uri "https://ifconfig.me/"
Write-Log "Connected !" "Green"
$ping = $true
return