Test content for winget ID:s

pull/306/head
KnifMelti 2023-03-28 10:22:43 +02:00
parent f92b4b8404
commit d8e526f238
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function Test-ListPath ($ListPath, $UseWhiteList, $WingetUpdatePath) {
catch {
try {
$content = $wc.DownloadString("$ExternalList")
if ($null -ne $content -and $content) {
if ($null -ne $content -and $content -match "\w\.\w") {
$wc.DownloadFile($ExternalList, $LocalList)
return $true
}