Test content for winget ID:s
parent
f92b4b8404
commit
d8e526f238
|
@ -39,7 +39,7 @@ function Test-ListPath ($ListPath, $UseWhiteList, $WingetUpdatePath) {
|
||||||
catch {
|
catch {
|
||||||
try {
|
try {
|
||||||
$content = $wc.DownloadString("$ExternalList")
|
$content = $wc.DownloadString("$ExternalList")
|
||||||
if ($null -ne $content -and $content) {
|
if ($null -ne $content -and $content -match "\w\.\w") {
|
||||||
$wc.DownloadFile($ExternalList, $LocalList)
|
$wc.DownloadFile($ExternalList, $LocalList)
|
||||||
return $true
|
return $true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue