@ConfigConfused

pull/447/head
romanitho 2023-10-26 13:58:32 +02:00
parent b2fffe37a5
commit f12e451aa1
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ function Get-WingetOutdatedApps {
#If current user is not system, remove system apps from list
if ($IsSystem -eq $false) {
$SystemApps = Get-Content -Path "$WorkingDir\winget_system_apps.txt"
$SystemApps = Get-Content -Path "$WorkingDir\winget_system_apps.txt" -ErrorAction SilentlyContinue
$upgradeList = $upgradeList | Where-Object { $SystemApps -notcontains $_.Id }
}