diff --git a/Sophia/PowerShell 7/Module/Sophia.psm1 b/Sophia/PowerShell 7/Module/Sophia.psm1 index 2b23312f..a0ea2aa1 100644 --- a/Sophia/PowerShell 7/Module/Sophia.psm1 +++ b/Sophia/PowerShell 7/Module/Sophia.psm1 @@ -8415,8 +8415,8 @@ function UninstallUWPApps $ForAllUsers ) - Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" - Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" + Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\WinRT.Runtime.dll" + Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\Microsoft.Windows.SDK.NET.dll" Add-Type -AssemblyName PresentationCore, PresentationFramework @@ -8862,8 +8862,8 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); #> function RestoreUWPApps { - Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" - Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" + Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\WinRT.Runtime.dll" + Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\Microsoft.Windows.SDK.NET.dll" Add-Type -AssemblyName PresentationCore, PresentationFramework @@ -12296,8 +12296,8 @@ public static void PostMessage() https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref #> - Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" - Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" + Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\WinRT.Runtime.dll" + Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\Microsoft.Windows.SDK.NET.dll" [xml]$ToastTemplate = @"