Update installer.bat

+added install summary when user wants to install everything
This commit is contained in:
deffcolony
2024-05-01 20:32:28 +02:00
parent 9a0bb27de4
commit 374b3490ee

View File

@@ -213,7 +213,7 @@ echo What would you like to do?
echo 1. Install SillyTavern
echo 2. Install Extras
echo 3. Install XTTS
echo 4. INSTALL EVERYTHING
echo 4. Install Everything
echo 5. Support
echo 0. Exit
@@ -562,11 +562,42 @@ goto :installer
:install_all
title STL [INSTALL SILLYTAVERN + EXTRAS + XTTS]
title STL [INSTALL EVERYTHING]
cls
echo %blue_fg_strong%/ Installer / Install SillyTavern + Extras + XTTS%reset%
echo %blue_fg_strong%/ Installer / Install Everything%reset%
echo ---------------------------------------------------------------
setlocal enabledelayedexpansion
chcp 65001 > nul
REM Confirm with the user before proceeding
echo.
echo %blue_bg%╔════ INSTALL SUMMARY ══════════════════════════════════════════════════════════════════════════╗%reset%
echo %blue_bg%║ You are about to install all options from the installer. ║%reset%
echo %blue_bg%║ This will include the following options: SillyTavern, SillyTavern-Extras, and XTTS ║%reset%
echo %blue_bg%║ Below is a list of package requirements that will get installed: ║%reset%
echo %blue_bg%║ * SillyTavern [Size: 478 MB] ║%reset%
echo %blue_bg%║ * SillyTavern-extras [Size: 65 MB] ║%reset%
echo %blue_bg%║ * xtts [Size: 2,06 MB] ║%reset%
echo %blue_bg%║ * Visual Studio BuildTools 2022 [Size: 3,10 GB] ║%reset%
echo %blue_bg%║ * Miniconda3 [INSTALLED] [Size: 630 MB] ║%reset%
echo %blue_bg%║ * Miniconda3 env - xtts [Size: 6,98 GB] ║%reset%
echo %blue_bg%║ * Miniconda3 env - extras [Size: 9,98 GB] ║%reset%
echo %blue_bg%║ * Git [INSTALLED] [Size: 338 MB] ║%reset%
echo %blue_bg%║ * Node.js [Size: 87,5 MB] ║%reset%
echo %blue_bg%║ * Microsoft Visual C++ 2015-2022 Redistributable (x64) [Size: 20,6 MB] ║%reset%
echo %blue_bg%║ * Microsoft Visual C++ 2015-2022 Redistributable (x86) [Size: 18 MB] ║%reset%
echo %blue_bg%║ TOTAL INSTALL SIZE: 20.82 GB ║%reset%
echo %blue_bg%╚═══════════════════════════════════════════════════════════════════════════════════════════════╝%reset%
echo.
set /p "confirmation=Are you sure you want to proceed? [Y/N]: "
if /i "%confirmation%"=="Y" (
goto :install_all_y
) else (
goto :installer
)
:install_all_y
REM GPU menu - Frontend
echo What is your GPU?
echo 1. NVIDIA