From bc178a6f545ffd73c93e1a22adba3563e8e7004f Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sun, 24 Oct 2021 19:57:31 +0300 Subject: [PATCH] Update Sophia.psm1 --- .../Module/Sophia.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 index 1bb97ebb..c87493c2 100644 --- a/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 +++ b/Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1 @@ -11704,11 +11704,11 @@ function Windows10ContextMenu switch ($PSCmdlet.ParameterSetName) { - "Enable" + "Disable" { Remove-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" -Recurse -Force -ErrorAction Ignore } - "Disable" + "Enable" { if (-not (Test-Path -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32")) {