From bda8539fa9444186f5bce8b6dee94030558c2015 Mon Sep 17 00:00:00 2001 From: Alek Date: Thu, 30 Jan 2025 19:55:05 -0800 Subject: [PATCH] Rearrange cd's to make directory change more readable --- launcher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher.sh b/launcher.sh index f393c04..6c90ff6 100755 --- a/launcher.sh +++ b/launcher.sh @@ -237,13 +237,13 @@ find_terminal() start_st() { check_nodejs + cd "SillyTavern" || exit 1 + #if LAUNCH_NEW_WIN is set to 0, SillyTavern will launch in the same window if [ "$LAUNCH_NEW_WIN" = "0" ]; then log_message "INFO" "SillyTavern launched" - cd "SillyTavern" || exit 1 ./start.sh else - cd "SillyTavern" || exit 1 log_message "INFO" "SillyTavern launched in a new window." # Find a suitable terminal local detected_terminal