فهرست منبع

chore: 固定换行符(.bat=CRLF,.command/.sh=LF)

liangzhao 2 هفته پیش
والد
کامیت
efd0ba989d
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      .gitattributes

+ 6 - 0
.gitattributes

@@ -0,0 +1,6 @@
+# Windows 启动脚本必须 CRLF,否则 cmd 解析异常(窗口一闪而过)
+*.bat   text eol=crlf
+*.cmd   text eol=crlf
+# macOS / Linux 脚本保持 LF
+*.command text eol=lf
+*.sh      text eol=lf