diff --git a/Winget-AutoUpdate/User-Run.ps1 b/Winget-AutoUpdate/User-Run.ps1 index a3e2057..35917ec 100644 --- a/Winget-AutoUpdate/User-Run.ps1 +++ b/Winget-AutoUpdate/User-Run.ps1 @@ -71,14 +71,14 @@ elseif ($NotifApproved){ $NotifApproved = "wau:system" } } - if ($NotifApproved -eq "wau:userDialogBox"){ + if ($NotifApproved -eq "wau:userDialogBox"){ Add-Type -AssemblyName PresentationCore,PresentationFramework $Result = [System.Windows.MessageBox]::Show($MessageBody,$Title,4,32) if ($Result -eq "Yes") { $NotifApproved = "wau:user" } } - if ($NotifApproved -eq "wau:system"){ + if ($NotifApproved -eq "wau:system"){ #Create tag if user approve notif for requested updates $WAUNotifApprovedPath = "$WorkingDir\config\NotifApproved.txt" New-Item $WAUNotifApprovedPath -Force