mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-10-21 02:58:44 +00:00
fix: happ detection in diagnostics (#17740)
This commit is contained in:
1 parent
6f7d70003b
commit
16cf6b8cb4
1 file changed
+2
-2
+2
-2
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user