Skip to content

Commit

Permalink
feat: add new/old context menu toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta committed Aug 9, 2023
1 parent 7142b10 commit c69180d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""
5 changes: 2 additions & 3 deletions src/playbook/Executables/WIN11.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal EnableDelayedExpansion

:: Check for a Windows build and exit if Windows 11 is not installed
:: Check for a Windows build and make changes
for /f "tokens=6 delims=[.] " %%a in ('ver') do (
if %%a LSS 22621 (
exit /b
Expand Down Expand Up @@ -35,5 +35,4 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowCloudF
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableNotificationCenter" /f

:: Restore old Windows 10 context menu
reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /v "" /d "" /f

reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve​

0 comments on commit c69180d

Please sign in to comment.