Fix for WSB

pull/203/head
Romain 2022-10-24 11:51:26 +02:00 committed by GitHub
parent 64ffecc5ee
commit 84cb162d1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ function Test-Network {
While ($timeout -lt 1800) { While ($timeout -lt 1800) {
$URLtoTest = "https://raw.githubusercontent.com/Romanitho/Winget-AutoUpdate/main/LICENSE" $URLtoTest = "https://raw.githubusercontent.com/Romanitho/Winget-AutoUpdate/main/LICENSE"
$URLcontent = ((Invoke-WebRequest -URI $URLtoTest).content) $URLcontent = ((Invoke-WebRequest -URI $URLtoTest -UseBasicParsing).content)
if ($URLcontent -like "*MIT License*") { if ($URLcontent -like "*MIT License*") {