diff --git a/build_agent.cmd b/build_agent.cmd index 22856b2..44dfb27 100644 --- a/build_agent.cmd +++ b/build_agent.cmd @@ -49,8 +49,10 @@ go build -ldflags "-w -s" . >nul 2>&1 if %errorlevel% NEQ 0 ( echo Something went wrong ) else ( - echo Build successful: - dir agent.exe + echo Build successful + cd /D "%~dp0" + copy /y .\beszel\beszel\cmd\agent\agent.exe . + echo Beszel agent.exe was built and copied, you can proceed with 'install-beszel-service.cmd'. ) -:end \ No newline at end of file +:end