diff --git a/Winget-AutoUpdate/winget-notify.ps1 b/Winget-AutoUpdate/winget-notify.ps1 index 7e6c517..c7034fb 100644 --- a/Winget-AutoUpdate/winget-notify.ps1 +++ b/Winget-AutoUpdate/winget-notify.ps1 @@ -1,7 +1,7 @@ #Send Notif Script #get xml notif config -[xml]$NotifConf = Get-Content "$env:ProgramData\Winget-AutoUpdate\notif.xml" -Encoding UTF8 -ErrorAction SilentlyContinue +[xml]$NotifConf = Get-Content "$env:ProgramData\Winget-AutoUpdate\config\notif.xml" -Encoding UTF8 -ErrorAction SilentlyContinue if (!($NotifConf)) {break} #Load Assemblies @@ -18,4 +18,4 @@ $LauncherID = "Windows.SystemToast.Winget.Notification" #Prepare and Create Toast $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) $ToastMessage.Tag = $NotifConf.toast.tag -[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($LauncherID).Show($ToastMessage) \ No newline at end of file +[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($LauncherID).Show($ToastMessage)