mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-04-10 15:25:39 -07:00
Adds output for more info
This commit is contained in:
parent
f4fe5f7bb1
commit
17d7151568
@ -5,15 +5,14 @@ chcp 65001 > nul
|
|||||||
|
|
||||||
|
|
||||||
if "%~1"=="" (
|
if "%~1"=="" (
|
||||||
|
echo "Checking of already running service instances (see services.msc for more info)"
|
||||||
echo "Services status check..."
|
echo "Services status check..."
|
||||||
call :test_service zapret
|
call :test_service zapret
|
||||||
call :test_service WinDivert
|
call :test_service WinDivert
|
||||||
echo "Services status check complete!"
|
echo "Services status check complete!"
|
||||||
pause
|
pause
|
||||||
) else (
|
) else (
|
||||||
echo "%~1 service status check..."
|
|
||||||
call :test_service "%~1" "soft"
|
call :test_service "%~1" "soft"
|
||||||
echo "%~1 service status check complete!"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -30,7 +29,7 @@ set "ServiceStatus=%ServiceStatus: =%"
|
|||||||
|
|
||||||
if "%ServiceStatus%"=="RUNNING" (
|
if "%ServiceStatus%"=="RUNNING" (
|
||||||
if "%~2"=="soft" (
|
if "%~2"=="soft" (
|
||||||
echo "%ServiceName%" is ALREADY RUNNING as service! Use "serivce_remove.bat" first if you want to run standalone bat.
|
echo "%ServiceName%" is ALREADY RUNNING as service! Use "service_remove.bat" first if you want to run standalone bat.
|
||||||
pause
|
pause
|
||||||
) else (
|
) else (
|
||||||
echo "%ServiceName%" service is RUNNING.
|
echo "%ServiceName%" service is RUNNING.
|
||||||
|
Loading…
Reference in New Issue
Block a user