diff --git a/Launcher.bat b/Launcher.bat index 600a365..2fa87cc 100644 --- a/Launcher.bat +++ b/Launcher.bat @@ -4676,8 +4676,9 @@ if %errorlevel% neq 0 ( pause goto :home ) -echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% SillyTavern launched in a new window. +set NODE_ENV=production start cmd /k "title SillyTavern && cd /d %st_install_path% && call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev && node server.js && pause && popd" +echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% SillyTavern launched in a new window. if exist "%~dp0bin\settings\custom-shortcut.txt" ( setlocal EnableDelayedExpansion