Crash when update failed

This commit is contained in:
Cohee 2024-10-01 12:43:20 +03:00
parent 6c110e91f7
commit 9e3307576e
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,9 @@ if %errorlevel% neq 0 (
call git pull --rebase --autostash
if %errorlevel% neq 0 (
REM incase there is still something wrong
echo There were errors while updating. Please download the latest version manually.
echo There were errors while updating.
echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
goto end
)
)
set NODE_ENV=production

View File

@ -95,7 +95,8 @@ git pull --rebase --autostash origin %TARGET_BRANCH%
:install
if %errorlevel% neq 0 (
echo There were errors while updating. Please check manually.
echo There were errors while updating.
echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
goto end
)