mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-03-09 07:15:21 +00:00
Remove strategy source output if no service installed
This commit is contained in:
@@ -67,7 +67,12 @@ goto menu
|
|||||||
:service_status
|
:service_status
|
||||||
cls
|
cls
|
||||||
chcp 437 > nul
|
chcp 437 > nul
|
||||||
for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do echo Service strategy installed from "%%B"
|
|
||||||
|
sc query "zapret" >nul 2>&1
|
||||||
|
if !errorlevel!==0 (
|
||||||
|
for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do echo Service strategy installed from "%%B"
|
||||||
|
)
|
||||||
|
|
||||||
call :test_service zapret
|
call :test_service zapret
|
||||||
call :test_service WinDivert
|
call :test_service WinDivert
|
||||||
echo:
|
echo:
|
||||||
|
|||||||
Reference in New Issue
Block a user