mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-01-26 17:09:44 +00:00
make first cd more concise
This commit is contained in:
@@ -131,10 +131,8 @@ install_git() {
|
||||
echo -e "${blue_fg_strong}[INFO] Git is already installed.${reset}"
|
||||
fi
|
||||
}
|
||||
#cd to base dir first
|
||||
cd "$(dirname "$0")"
|
||||
# Change the current directory to 'sillytavern' folder
|
||||
cd "SillyTavern" || exit 1
|
||||
cd "$(dirname "$0")/SillyTavern" || exit 1
|
||||
|
||||
# Check for updates
|
||||
git fetch origin
|
||||
|
||||
Reference in New Issue
Block a user