SillyTavern/Start.bat
Cohee a7aa5fccf9 Update startup scripts (see below)
1. Set NODE_ENV to production and skip dev dependencies when running from scripts.
2. Remove pkg leftovers. Indicate current environment instead.
2024-03-06 22:09:31 +02:00

7 lines
122 B
Batchfile

pushd %~dp0
set NODE_ENV=production
call npm install --no-audit --no-fund --quiet --omit=dev
node server.js %*
pause
popd