From f0d8cd93e8df671dc0003219791759f52108e905 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Nov 2026 08:41:27 +0000 Subject: [PATCH] Give the Windows launcher CRLF line endings cmd.exe reads start.bat reliably when the lines end with CR LF, and the launcher switches the console to UTF-8 before printing the Chinese prompt. Co-authored-by: yanjiu0721 --- .gitattributes | 1 + server/packaging/start.bat | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..07bd5bb --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +server/packaging/start.bat text eol=crlf diff --git a/server/packaging/start.bat b/server/packaging/start.bat index 957bfb5..9ca6a2e 100644 --- a/server/packaging/start.bat +++ b/server/packaging/start.bat @@ -1,4 +1,5 @@ @echo off +chcp 65001 >nul cd /d "%~dp0" echo 正在启动网络质量探测节点。端口和口令请改同目录下的 .env netquality-reflector.exe