From a125de8c4a8cfb2f74c6374059f14f3ee87b91c7 Mon Sep 17 00:00:00 2001 From: Radek Davidek Date: Fri, 27 Mar 2026 22:39:17 +0100 Subject: [PATCH] fixes --- service/README.md | 3 +++ service/install-service.bat | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/service/README.md b/service/README.md index e94b99a..b6311cf 100644 --- a/service/README.md +++ b/service/README.md @@ -129,6 +129,9 @@ Or install it with the bundled script: install-service.bat ``` +The script expects `process-monitor.exe` and `process-monitor.conf` to be in the +same directory as `install-service.bat`. + Remove the service with: ```cmd diff --git a/service/install-service.bat b/service/install-service.bat index 73d532d..be3388f 100644 --- a/service/install-service.bat +++ b/service/install-service.bat @@ -3,8 +3,8 @@ setlocal set "SERVICE_NAME=ProcessMonitorService" set "BASE_DIR=%~dp0" -set "EXE_PATH=%BASE_DIR%build\Release\process-monitor.exe" -set "CONFIG_PATH=%BASE_DIR%build\Release\process-monitor.conf" +set "EXE_PATH=%BASE_DIR%process-monitor.exe" +set "CONFIG_PATH=%BASE_DIR%process-monitor.conf" if not exist "%EXE_PATH%" ( echo EXE not found: "%EXE_PATH%"