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

优化更新脚本的输出

This commit is contained in:
bWFuanVzYWth
2023-07-20 21:33:26 +08:00
parent ccfcb64ca3
commit e42085bbd0

View File

@@ -8,7 +8,6 @@ dir>%LOG_PATH%
echo ---->>%LOG_PATH%
::test dir
echo %~dp0
cd ..
cd ..
if not exist "Blueprint" (
@@ -41,7 +40,7 @@ goto end_with_error
)
::test .git/
%GIT_PATH% rev-parse --is-inside-work-tree>>%LOG_PATH%
%GIT_PATH% rev-parse --resolve-git-dir "%~dp0.git"
if %errorlevel% NEQ 0 (
echo 错误:.git/已损坏
echo %date% %time% Error: .git/ is broken>>%LOG_PATH%