Update Launcher.bat

This commit is contained in:
deffcolony
2024-04-13 12:18:02 +02:00
parent 86536167d8
commit b24127576c

View File

@@ -3702,6 +3702,7 @@ echo -------------------------------------------------------------
echo What would you like to do?
echo 1. Switch to Release - SillyTavern
echo 2. Switch to Staging - SillyTavern
echo 3. Switch to neo-server - SillyTavern
echo 0. Back
REM Get the current Git branch
@@ -3716,6 +3717,8 @@ if "%brance_choice%"=="1" (
call :switch_brance_release_st
) else if "%brance_choice%"=="2" (
call :switch_brance_staging_st
) else if "%brance_choice%"=="3" (
call :switch_brance_neoserver_st
) else if "%brance_choice%"=="0" (
goto :toolbox
) else (
@@ -3742,6 +3745,15 @@ pause
goto :switch_brance
:switch_brance_neoserver_st
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Switching to neo-server branch...
cd /d "%~dp0SillyTavern"
git switch neo-server
pause
goto :switch_brance
REM ############################################################
REM ################# BACKUP - FRONTEND ########################
REM ############################################################