Merge pull request #1687 from majick/pass-parameters

Modify start scripts to pass parameters
This commit is contained in:
Cohee 2024-01-13 17:58:04 +02:00 committed by GitHub
commit 33b759b7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
pushd %~dp0
call npm install --no-audit
node server.js
node server.js %*
pause
popd

View File

@ -12,6 +12,6 @@ if %errorlevel% neq 0 (
)
)
call npm install
node server.js
node server.js %*
pause
popd

View File

@ -31,4 +31,4 @@ echo "Installing Node Modules..."
npm i --no-audit
echo "Entering SillyTavern..."
node "$(dirname "$0")/server.js"
node "$(dirname "$0")/server.js" "$@"