Browse Source

Update Sophia.psm1

pull/217/head 5.10.8
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
4271e98650
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      Sophia/PowerShell 7/Module/Sophia.psm1

12
Sophia/PowerShell 7/Module/Sophia.psm1

@ -8415,8 +8415,8 @@ function UninstallUWPApps
$ForAllUsers $ForAllUsers
) )
Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\WinRT.Runtime.dll"
Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\Microsoft.Windows.SDK.NET.dll"
Add-Type -AssemblyName PresentationCore, PresentationFramework Add-Type -AssemblyName PresentationCore, PresentationFramework
@ -8862,8 +8862,8 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
#> #>
function RestoreUWPApps function RestoreUWPApps
{ {
Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\WinRT.Runtime.dll"
Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\Microsoft.Windows.SDK.NET.dll"
Add-Type -AssemblyName PresentationCore, PresentationFramework Add-Type -AssemblyName PresentationCore, PresentationFramework
@ -12296,8 +12296,8 @@ public static void PostMessage()
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref
#> #>
Add-Type -AssemblyName "$PSScriptRoot\Libraries\WinRT.Runtime.dll" Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\WinRT.Runtime.dll"
Add-Type -AssemblyName "$PSScriptRoot\Libraries\Microsoft.Windows.SDK.NET.dll" Add-Type -AssemblyName "$PSScriptRoot\..\Libraries\Microsoft.Windows.SDK.NET.dll"
[xml]$ToastTemplate = @" [xml]$ToastTemplate = @"
<toast duration="Long" scenario="reminder"> <toast duration="Long" scenario="reminder">

Loading…
Cancel
Save