diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d78c7d0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.bat text eol=crlf +*.sh text eol=lf diff --git a/start.bat b/start.bat index b891aa0..0ae849b 100644 --- a/start.bat +++ b/start.bat @@ -1,4 +1,6 @@ @echo off +rem 控制台切 UTF-8,否则本文件里的中文在 GBK 终端下是乱码。 +chcp 65001 >nul 2>&1 rem ARTEX 守护启动脚本(Windows) rem rem 用法: