small fixes

+fixed if else bug in backup menu
+changed variables for vsbuildtools
+changed text for backup question
+changed variable in ssl
This commit is contained in:
deffcolony
2024-07-09 23:55:24 +02:00
parent 1e7496720e
commit e0a6b15c4d
4 changed files with 15 additions and 16 deletions

View File

@@ -17,16 +17,15 @@ if "%silentMode%"=="true" (
set "outputRedirection="
)
:: Set the SSL certificate directory and files
set "SILLYTAVERN_DIR=%~dp0..\..\..\SillyTavern"
set "CERT_DIR=%SILLYTAVERN_DIR%\certs"
REM Set the SSL certificate directory and files
set "CERT_DIR=%st_install_path%\certs"
set "CERT_FILE=%CERT_DIR%\cert.pem"
set "KEY_FILE=%CERT_DIR%\privkey.pem"
set "CERT_INFO_FILE=%CERT_DIR%\SillyTavernSSLInfo.txt"
set "ERROR_LOG=%CERT_DIR%\error_log.txt"
:: Check if the SillyTavern directory exists
if not exist "%SILLYTAVERN_DIR%" (
if not exist "%st_install_path%" (
echo Please install SillyTavern first.
if "%pauseRequired%"=="true" pause
endlocal