From ff334e57673d6ca6d882a533690e88c5e24122aa Mon Sep 17 00:00:00 2001 From: Artyom Bebroy Date: Thu, 7 May 2026 16:05:32 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B5=D0=BA=D1=83=D1=89=D0=B5?= =?UTF-8?q?=D0=B9=20=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=B5=D0=B3=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=B2=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D1=81=D0=B5=D1=80=D0=B2?= =?UTF-8?q?=D0=B8=D1=81=D0=B0=20(#13053)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service.bat | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/service.bat b/service.bat index 6bc7c60..a29084f 100644 --- a/service.bat +++ b/service.bat @@ -58,11 +58,13 @@ cls call :ipset_switch_status call :game_switch_status call :check_updates_switch_status +call :get_strategy_name set "menu_choice=null" echo. echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION! +echo Strategy: !CurrentStrategy! echo ---------------------------------------- echo. echo :: SERVICE @@ -995,6 +997,13 @@ pause goto menu +:: Get strategy name +:get_strategy_name +set "CurrentStrategy=not installed" +for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do set "CurrentStrategy=%%B" +exit /b + + :: Utility functions :PrintGreen