|
@ -14314,6 +14314,9 @@ public static void PostMessage() |
|
|
# Determines whether the app can be seen in Settings where the user can turn notifications on or off |
|
|
# Determines whether the app can be seen in Settings where the user can turn notifications on or off |
|
|
New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppUserModelId\Sophia -Name ShowInSettings -Value 0 -PropertyType DWord -Force |
|
|
New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\AppUserModelId\Sophia -Name ShowInSettings -Value 0 -PropertyType DWord -Force |
|
|
|
|
|
|
|
|
|
|
|
Add-Type -AssemblyName "$PSScriptRoot\..\bin\WinRT.Runtime.dll" |
|
|
|
|
|
Add-Type -AssemblyName "$PSScriptRoot\..\bin\Microsoft.Windows.SDK.NET.dll" |
|
|
|
|
|
|
|
|
# Apply policies found in registry to re-build database database due to gpedit.msc relies in its' own database |
|
|
# Apply policies found in registry to re-build database database due to gpedit.msc relies in its' own database |
|
|
if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) |
|
|
if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) |
|
|
{ |
|
|
{ |
|
|