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