From 3d858d317658c041d810b72a0eb30c70be061e23 Mon Sep 17 00:00:00 2001 From: xrgzs Date: Wed, 16 Oct 2024 14:24:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=2026100+=E5=90=AF=E7=94=A8?= =?UTF-8?q?=20sudo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osc/optimize/start.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/osc/optimize/start.bat b/osc/optimize/start.bat index 5c967ac..a4e2ef1 100644 --- a/osc/optimize/start.bat +++ b/osc/optimize/start.bat @@ -262,6 +262,12 @@ if %osver% GEQ 4 ( echo »Ö¸´´«Í³ÓÒ¼ü²Ëµ¥ reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve ) + if !bigversion! GEQ 26100 ( + if exist "%SystemDrive%\Windows\System32\sudo.exe" ( + echo ÆôÓà sudo + sudo config --enable enable + ) + ) ) ) else if %osver% GEQ 2 ( schtasks /change /tn "\Microsoft\Windows\SystemRestore\SR" /disable