The reflector and probe node read .env next to the binary and from the working directory. Command-line flags still override environment variables, which override the file. Missing .env files are ignored, and the packaged defaults stay TCP 19090 and UDP 19091. Co-authored-by: yanjiu0721 <yanjiu0721@users.noreply.github.com>
8 lines
237 B
Batchfile
8 lines
237 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
echo 正在启动网络质量探测节点。端口和口令请改同目录下的 .env
|
|
netquality-reflector.exe
|
|
echo.
|
|
echo 程序已退出。如果上面有报错,请检查 .env 后重新双击本文件。
|
|
pause
|