@echo off chcp 65001 >nul cd /d "%~dp0" echo ======================================== echo 远程日志接收器 启动中... echo 监听 http://127.0.0.1:3200/log echo 收到的日志存入 received_logs/ 目录 echo ======================================== if exist "C:\Users\Administrator\.bun\bin\bun.exe" ( "C:\Users\Administrator\.bun\bin\bun.exe" run remote_receiver.ts ) else ( bun run remote_receiver.ts ) pause