diff --git a/Configs/GameConfig/gen_code_bin_to_project.bat b/Configs/GameConfig/gen_code_bin_to_project.bat index aaccdbdd..cfdf94a7 100644 --- a/Configs/GameConfig/gen_code_bin_to_project.bat +++ b/Configs/GameConfig/gen_code_bin_to_project.bat @@ -14,6 +14,7 @@ dotnet %LUBAN_DLL% ^ -c cs-bin ^ -d bin^ --conf %CONF_ROOT%\luban.conf ^ + -x code.lineEnding=crlf ^ -x outputCodeDir=%CODE_OUTPATH% ^ -x outputDataDir=%DATA_OUTPATH% pause diff --git a/Configs/GameConfig/gen_code_bin_to_project.sh b/Configs/GameConfig/gen_code_bin_to_project.sh index 59269d99..7264b65f 100644 --- a/Configs/GameConfig/gen_code_bin_to_project.sh +++ b/Configs/GameConfig/gen_code_bin_to_project.sh @@ -17,6 +17,7 @@ dotnet "${LUBAN_DLL}" \ -c cs-bin \ -d bin \ --conf "${CONF_ROOT}/luban.conf" \ + -x code.lineEnding=crlf \ -x outputCodeDir="${CODE_OUTPATH}" \ -x outputDataDir="${DATA_OUTPATH}" diff --git a/Configs/GameConfig/gen_code_bin_to_project_lazyload.bat b/Configs/GameConfig/gen_code_bin_to_project_lazyload.bat index c97c8377..c3a47c4f 100644 --- a/Configs/GameConfig/gen_code_bin_to_project_lazyload.bat +++ b/Configs/GameConfig/gen_code_bin_to_project_lazyload.bat @@ -15,6 +15,7 @@ dotnet %LUBAN_DLL% ^ -d bin^ --conf %CONF_ROOT%\luban.conf ^ --customTemplateDir %CONF_ROOT%\CustomTemplate\CustomTemplate_Client_LazyLoad ^ + -x code.lineEnding=crlf ^ -x outputCodeDir=%CODE_OUTPATH% ^ -x outputDataDir=%DATA_OUTPATH% pause diff --git a/Configs/GameConfig/gen_code_bin_to_project_lazyload.sh b/Configs/GameConfig/gen_code_bin_to_project_lazyload.sh index 7324d765..9f788352 100644 --- a/Configs/GameConfig/gen_code_bin_to_project_lazyload.sh +++ b/Configs/GameConfig/gen_code_bin_to_project_lazyload.sh @@ -18,6 +18,7 @@ dotnet "${LUBAN_DLL}" \ -d bin \ --conf "${CONF_ROOT}/luban.conf" \ --customTemplateDir "${CONF_ROOT}/CustomTemplate/CustomTemplate_Client_LazyLoad" \ + -x code.lineEnding=crlf \ -x outputCodeDir="${CODE_OUTPATH}" \ -x outputDataDir="${DATA_OUTPATH}" diff --git a/Configs/GameConfig/gen_code_bin_to_server.bat b/Configs/GameConfig/gen_code_bin_to_server.bat index 697220e7..adaf71a6 100644 --- a/Configs/GameConfig/gen_code_bin_to_server.bat +++ b/Configs/GameConfig/gen_code_bin_to_server.bat @@ -12,6 +12,7 @@ dotnet %LUBAN_DLL% ^ -c cs-bin ^ -d bin^ --conf %CONF_ROOT%\luban.conf ^ + -x code.lineEnding=crlf ^ -x outputCodeDir=%CODE_OUTPATH% ^ -x outputDataDir=%DATA_OUTPATH% pause diff --git a/Configs/GameConfig/gen_code_bin_to_server.sh b/Configs/GameConfig/gen_code_bin_to_server.sh index 4b257d38..12de6cbc 100644 --- a/Configs/GameConfig/gen_code_bin_to_server.sh +++ b/Configs/GameConfig/gen_code_bin_to_server.sh @@ -14,6 +14,7 @@ dotnet "${LUBAN_DLL}" \ -c cs-bin \ -d bin \ --conf "${CONF_ROOT}/luban.conf" \ + -x code.lineEnding=crlf \ -x outputCodeDir="${CODE_OUTPATH}" \ -x outputDataDir="${DATA_OUTPATH}"