Crash when update failed

9e3307576ef835da5ae399c80f7f865ecd964059

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +5 -2Ignore whitespace
UpdateAndStart.bat+3 -1
@@ -14,7 +14,9 @@ if %errorlevel% neq 0 (
14 call git pull --rebase --autostash14 call git pull --rebase --autostash
15 if %errorlevel% neq 0 (15 if %errorlevel% neq 0 (
16 REM incase there is still something wrong16 REM incase there is still something wrong
17 echo There were errors while updating. Please download the latest version manually.17 echo There were errors while updating.
18 echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
19 goto end
18 )20 )
19)21)
20set NODE_ENV=production22set NODE_ENV=production
UpdateForkAndStart.bat+2 -1
@@ -95,7 +95,8 @@ git pull --rebase --autostash origin %TARGET_BRANCH%
9595
96:install96:install
97if %errorlevel% neq 0 (97if %errorlevel% neq 0 (
98 echo There were errors while updating. Please check manually.98 echo There were errors while updating.
99 echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
99 goto end100 goto end
100)101)
101102