Browse Source

Update Sophia.psm1

pull/277/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
bc178a6f54
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1

4
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"))
{

Loading…
Cancel
Save