отображение текущей стратегии в меню сервиса (#13053)

This commit is contained in:
Artyom Bebroy
2026-05-07 16:05:32 +05:00
committed by GitHub
parent 8b47f91512
commit ff334e5767

View File

@@ -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