mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-01-26 17:09:44 +00:00
launcher upgrades
+fixes tabbyapi install for real this time with pip update
This commit is contained in:
@@ -776,7 +776,7 @@ set max_retries=3
|
||||
set retry_count=0
|
||||
|
||||
:retry_update_tabbyapi
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Updating tabbyAPI...
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Updating tabbyAPI repository...
|
||||
cd /d "%tabbyapi_install_path%"
|
||||
call git pull
|
||||
if %errorlevel% neq 0 (
|
||||
@@ -787,6 +787,9 @@ if %errorlevel% neq 0 (
|
||||
pause
|
||||
goto :update_manager_text_completion
|
||||
)
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Updating tabbyAPI Dependencies in a new window...
|
||||
start cmd /k "title UPDATE TABBYAPI && cd /d %tabbyapi_install_path% && python start.py --update-deps && echo [41m WARNING: DO NOT FOLLOW INSTRUCTIONS FROM ABOVE BECAUSE THAT IS ONLY FOR USERS THAT DID NOT USE SILLYTAVERN-LAUNCHER TO INSTALL TABBYAPI. UPDATE INSTALLED, YOU CAN CLOSE THIS WINDOW NOW.[0m"
|
||||
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% %green_fg_strong%tabbyAPI updated successfully.%reset%
|
||||
pause
|
||||
goto :update_manager_text_completion
|
||||
@@ -1992,7 +1995,7 @@ if "%app_installer_tabbyapi_choice%"=="1" (
|
||||
set "caller=app_installer_text_completion_tabbyapi"
|
||||
if exist "%app_installer_text_completion_dir%\install_tabbyapi.bat" (
|
||||
call %app_installer_text_completion_dir%\install_tabbyapi.bat
|
||||
goto :install_tabbyapi_menu
|
||||
goto :update_tabbyapi
|
||||
) else (
|
||||
echo [%DATE% %TIME%] ERROR: install_tabbyapi.bat not found in: %app_installer_text_completion_dir% >> %logs_stl_console_path%
|
||||
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] install_tabbyapi.bat not found in: %app_installer_text_completion_dir%%reset%
|
||||
|
||||
@@ -115,6 +115,6 @@ echo If you do want a config file, copy over config_sample.yml to config.yml. Al
|
||||
echo so make sure to read the descriptions and comment out or remove fields that you don't need.
|
||||
echo.
|
||||
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% %green_fg_strong%TabbyAPI has been installed successfully.%reset%
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% %green_fg_strong%TabbyAPI has been installed successfully. Press any key to install update requirements%reset%
|
||||
pause
|
||||
goto :install_tabbyapi_menu
|
||||
Reference in New Issue
Block a user