| 14 | call git pull --rebase --autostash | 14 | call git pull --rebase --autostash |
| 15 | if %errorlevel% neq 0 ( | 15 | if %errorlevel% neq 0 ( |
| 16 | REM incase there is still something wrong | 16 | REM incase there is still something wrong |
| 17 | echo There were errors while updating. Please download the latest version manually. | 17 | echo [91mThere were errors while updating.[0m |
| | 18 | echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems |
| | 19 | goto end |
| 18 | ) | 20 | ) |
| 19 | ) | 21 | ) |
| 20 | set NODE_ENV=production | 22 | set NODE_ENV=production |