Adds output for more info

This commit is contained in:
ZmrdWeders 2025-04-03 11:11:59 +07:00 committed by GitHub
parent f4fe5f7bb1
commit 17d7151568
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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