From 16cf6b8cb4305b744c4ca602eb0a6deaa02dabff Mon Sep 17 00:00:00 2001 From: Funsy <174184082+FunsyMe@users.noreply.github.com> Date: Tue, 20 Oct 2026 07:15:04 +0300 Subject: [PATCH] fix: happ detection in diagnostics (#17740) --- service.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.bat b/service.bat index 4e5db13..9176f02 100644 --- a/service.bat +++ b/service.bat @@ -554,9 +554,9 @@ if not exist "%BIN_PATH%\*.sys" ( :: VPN set "VPN_SERVICES=" -sc query | findstr /I "VPN" > nul +sc query | findstr /I "VPN HappService" > nul if !errorlevel!==0 ( - for /f "tokens=2 delims=:" %%A in ('sc query ^| findstr /I "VPN"') do ( + for /f "tokens=2 delims=:" %%A in ('sc query ^| findstr /I "VPN HappService"') do ( if not defined VPN_SERVICES ( set "VPN_SERVICES=!VPN_SERVICES!%%A" ) else (