Skip to content

armgit / ARTEX

Public Imported from GitHub
0

ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)

fix(script): start.bat 改用 CRLF 并切 UTF-8 代码页

Autumn-27be29e02fa7ca
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 用法: