allow wildcard matching for excluded apps

pull/541/head
ztrhgf 2024-02-21 08:42:14 +01:00
parent 059144f9af
commit 721f22f722
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ if (Test-Network) {
else {
#For each app, notify and update
foreach ($app in $outdated) {
if (-not ($toSkip -contains $app.Id) -and $($app.Version) -ne "Unknown") {
if (-not ($toSkip | ? { $app.Id -like $_ }) -and $($app.Version) -ne "Unknown") {
Update-App $app
}
#if current app version is unknown