From 22e04f86c473053de9e91f8ae9373a2aa1ff33ee Mon Sep 17 00:00:00 2001 From: xrgzs Date: Wed, 1 May 2024 21:40:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E8=BF=9B=E6=A1=8C?= =?UTF-8?q?=E9=9D=A2=E5=89=8D=E9=87=8D=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/api/api.bat b/api/api.bat index 4684c8e..d0618b8 100644 --- a/api/api.bat +++ b/api/api.bat @@ -370,6 +370,7 @@ if exist "%SystemDrive%\Windows\Setup\xrsyssearchapi.txt" ( reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "XRSYSAPI" for /f "delims= " %%i in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /t REG_EXPAND_SZ ^| find /i "Unattend"') do reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v %%i /f reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "XRSYSAPI" /t REG_SZ /d "%~dp0osc.exe /S /5" +shutdown -r -t 0 goto end :jzm