diff --git a/run_capture.cmd b/run_capture.cmd new file mode 100644 index 0000000..6c032ef --- /dev/null +++ b/run_capture.cmd @@ -0,0 +1,23 @@ +@echo off +setlocal +cd /d "%~dp0" + +if not exist capture.toml ( + echo No capture.toml found. + echo Copy capture.toml.example to capture.toml and adjust the paths first. + pause + exit /b 1 +) + +if not exist target\release\capture.exe ( + echo Building capture binary ... + cargo build --release --bin capture + if errorlevel 1 ( + pause + exit /b 1 + ) +) + +target\release\capture.exe run +echo. +pause