Dmitry Nefedov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
6 deletions
-
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 = @" |
|
|
|
<toast duration="Long" scenario="reminder"> |
|
|
|