launcher upgrades

+dont report undefined environment upon startup.
+fixes libraries to include additional optimizations that are only activated in production.
This commit is contained in:
deffcolony
2024-09-25 13:26:40 +02:00
parent e7700db52a
commit 3c6bca6006
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ if %errorlevel% neq 0 (
exit /b 1
)
set NODE_ENV=production
setlocal
set "command=%~1"
start /B cmd /C "%command%"

View File

@@ -37,7 +37,7 @@ if %errorlevel% neq 0 (
)
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% %green_fg_strong%SillyTavern updated successfully.%reset%
set NODE_ENV=production
setlocal
set "command=%~1"
start /B cmd /C "%command%"