mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-05-01 03:31:31 +00:00
Update Launcher.bat
This commit is contained in:
12
Launcher.bat
12
Launcher.bat
@@ -3702,6 +3702,7 @@ echo -------------------------------------------------------------
|
|||||||
echo What would you like to do?
|
echo What would you like to do?
|
||||||
echo 1. Switch to Release - SillyTavern
|
echo 1. Switch to Release - SillyTavern
|
||||||
echo 2. Switch to Staging - SillyTavern
|
echo 2. Switch to Staging - SillyTavern
|
||||||
|
echo 3. Switch to neo-server - SillyTavern
|
||||||
echo 0. Back
|
echo 0. Back
|
||||||
|
|
||||||
REM Get the current Git branch
|
REM Get the current Git branch
|
||||||
@@ -3716,6 +3717,8 @@ if "%brance_choice%"=="1" (
|
|||||||
call :switch_brance_release_st
|
call :switch_brance_release_st
|
||||||
) else if "%brance_choice%"=="2" (
|
) else if "%brance_choice%"=="2" (
|
||||||
call :switch_brance_staging_st
|
call :switch_brance_staging_st
|
||||||
|
) else if "%brance_choice%"=="3" (
|
||||||
|
call :switch_brance_neoserver_st
|
||||||
) else if "%brance_choice%"=="0" (
|
) else if "%brance_choice%"=="0" (
|
||||||
goto :toolbox
|
goto :toolbox
|
||||||
) else (
|
) else (
|
||||||
@@ -3742,6 +3745,15 @@ pause
|
|||||||
goto :switch_brance
|
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 ############################################################
|
||||||
REM ################# BACKUP - FRONTEND ########################
|
REM ################# BACKUP - FRONTEND ########################
|
||||||
REM ############################################################
|
REM ############################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user