mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-12-10 05:19:45 +05:00
Remove strategy source output if no service installed
This commit is contained in:
@@ -67,7 +67,12 @@ goto menu
|
||||
:service_status
|
||||
cls
|
||||
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 WinDivert
|
||||
echo:
|
||||
|
||||
Reference in New Issue
Block a user