diff --git a/Winget-AutoUpdate/winget-upgrade.ps1 b/Winget-AutoUpdate/winget-upgrade.ps1 index 44af577..b4bb3bc 100644 --- a/Winget-AutoUpdate/winget-upgrade.ps1 +++ b/Winget-AutoUpdate/winget-upgrade.ps1 @@ -231,7 +231,7 @@ function Get-ExcludedApps{ function Start-WAUUpdateCheck{ #Get AutoUpdate status [xml]$UpdateStatus = Get-Content "$WorkingDir\config\config.xml" -Encoding UTF8 -ErrorAction SilentlyContinue - $AutoUpdateStatus = $UpdateStatus.app.autoupdate + $AutoUpdateStatus = $UpdateStatus.app.WAUautoupdate #Check if AutoUpdate is enabled if ($AutoUpdateStatus -eq $false){