Update winget-upgrade.ps1

pull/2/head v1.0.0
Romanitho 2022-01-18 10:16:37 +01:00 committed by GitHub
parent 6324a60f96
commit aff33efcb0
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 "Coonected !" "Green"
$ping = $true
return