Skip to content

Commit

Permalink
增加 低于22635恢复传统右键菜单
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Jun 26, 2024
1 parent 7018ddb commit db6d6da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osc/optimize/start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ if %osver% GEQ 4 (
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAI /t REG_DWORD /d 0
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCopilotButton /t REG_DWORD /d 0
)
if !bigversion! LEQ 22635 (
echo 恢复传统右键菜单
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
)
)
) else if %osver% GEQ 2 (
schtasks /change /tn "\Microsoft\Windows\SystemRestore\SR" /disable
Expand Down

0 comments on commit db6d6da

Please sign in to comment.