mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-01-26 17:09:44 +00:00
launcher upgrades
+use env variable one time for all
This commit is contained in:
@@ -18,7 +18,7 @@ if %errorlevel% neq 0 (
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set NODE_ENV=production
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Running Node.js in: %cyan_fg_strong%%NODE_ENV% %reset%
|
||||
setlocal
|
||||
set "command=%~1"
|
||||
start /B cmd /C "%command%"
|
||||
|
||||
@@ -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
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Running Node.js in: %cyan_fg_strong%%NODE_ENV% %reset%
|
||||
setlocal
|
||||
set "command=%~1"
|
||||
start /B cmd /C "%command%"
|
||||
|
||||
Reference in New Issue
Block a user