mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-12 07:10:52 +08:00
Merge pull request #336 from Rando717/cfz-updater
Hotfix cfz_update_utility.bat
This commit is contained in:
commit
55680eba51
@ -297,12 +297,17 @@ for /f "delims=" %%R in ('git rev-parse @{u}') do set REMOTE=%%R
|
||||
if NOT "%LOCAL%"=="%REMOTE%" (
|
||||
echo.
|
||||
echo [INFO] Update available. New commits:
|
||||
git --no-pager log --oneline %LOCAL%..%REMOTE%
|
||||
git --no-pager log --oneline %LOCAL%..%REMOTE% >> "%LOG_FILE%" 2>&1
|
||||
git --no-pager log --oneline %LOCAL%..%REMOTE% > temp_log_output.txt 2>&1
|
||||
type temp_log_output.txt
|
||||
type temp_log_output.txt >> "%LOG_FILE%"
|
||||
del temp_log_output.txt
|
||||
call :log New commits between %LOCAL% and %REMOTE%
|
||||
echo.
|
||||
echo [INFO] Pulling updates...
|
||||
git --no-pager pull >> "%LOG_FILE%" 2>&1
|
||||
git --no-pager pull > temp_pull_output.txt 2>&1
|
||||
type temp_pull_output.txt
|
||||
type temp_pull_output.txt >> "%LOG_FILE%"
|
||||
del temp_pull_output.txt
|
||||
call :log Pulled updates
|
||||
echo.
|
||||
echo [DONE] Update complete.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user