From 3978edd9d21f9be9b683649c4e20192eaf5ea2eb Mon Sep 17 00:00:00 2001 From: Joerg Hochwald Date: Fri, 15 Sep 2023 16:55:22 +0200 Subject: [PATCH] Removed the bad Assemblies my fault :( --- Winget-AutoUpdate/functions/Start-NotifTask.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/Winget-AutoUpdate/functions/Start-NotifTask.ps1 b/Winget-AutoUpdate/functions/Start-NotifTask.ps1 index a5f2c95..4bb561f 100644 --- a/Winget-AutoUpdate/functions/Start-NotifTask.ps1 +++ b/Winget-AutoUpdate/functions/Start-NotifTask.ps1 @@ -170,8 +170,6 @@ function Start-NotifTask { #else, run as connected user # Load Assemblies - $null = (Add-Type -AssemblyName Windows.UI) - $null = (Add-Type -AssemblyName Windows.Data) $null = [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] $null = [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime]