From 4f2a51bf61c760dfed5f5beb36aedbab05483230 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Tue, 25 Apr 2023 00:56:36 +0200 Subject: [PATCH] update --- Winget-AutoUpdate/User-Run.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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