mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-08-05 07:35:53 +03:00
improved current strategy output
This commit is contained in:
@@ -64,7 +64,7 @@ set "menu_choice=null"
|
|||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
|
echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
|
||||||
echo Strategy: !CurrentStrategy!
|
echo. !CurrentStrategy!
|
||||||
echo ----------------------------------------
|
echo ----------------------------------------
|
||||||
echo.
|
echo.
|
||||||
echo :: SERVICE
|
echo :: SERVICE
|
||||||
@@ -999,8 +999,8 @@ goto menu
|
|||||||
|
|
||||||
:: Get strategy name
|
:: Get strategy name
|
||||||
:get_strategy_name
|
:get_strategy_name
|
||||||
set "CurrentStrategy=not installed"
|
set "CurrentStrategy="
|
||||||
for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do set "CurrentStrategy=%%B"
|
for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do set "CurrentStrategy=Strategy: %%B"
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user