From dd6fbdfccfe1fa8b6332a0f52f252e85722ded4c Mon Sep 17 00:00:00 2001 From: Ying-Li Niu <64801511@qq.com> Date: Sun, 21 Jun 2026 08:16:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20.gitattributes=20=E6=A0=87=E8=AE=B0=20?= =?UTF-8?q?DLL=20=E4=B8=BA=E4=BA=8C=E8=BF=9B=E5=88=B6=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitattributes b/.gitattributes index 0b45a66..ca8cee1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,9 @@ -# 全部使用 LF 换行,仓库内外一致,不随系统自动转换 -* text eol=lf +# 引擎 DLL 是二进制文件,禁止行尾转换 +engines/release/*.dll binary -# 二进制文件不转换 -*.png binary -*.jpg binary -*.ico binary +# Python 源码使用 LF +*.py text eol=lf + +# Makefile 使用 LF +Makefile text eol=lf +*.mk text eol=lf