1
0
mirror of https://github.com/DSPBluePrints/FactoryBluePrints.git synced 2025-12-09 01:13:30 +08:00

优化更新脚本的报错显示

This commit is contained in:
bWFuanVzYWth
2023-07-20 21:39:17 +08:00
parent e42085bbd0
commit 0b10b5afd4

View File

@@ -40,7 +40,7 @@ goto end_with_error
)
::test .git/
%GIT_PATH% rev-parse --resolve-git-dir "%~dp0.git"
%GIT_PATH% rev-parse --path-format=absolute --git-dir
if %errorlevel% NEQ 0 (
echo 错误:.git/已损坏
echo %date% %time% Error: .git/ is broken>>%LOG_PATH%