mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-11-05 00:27:39 +00:00
[PR #94] [MERGED] Return to parent directory after launching/before returning home #120
Labels
No labels
🚏 Awaiting User Response
🐛Bug
🐛Bug
🐛Bug
🦄 Feature Request
✅ Fixed
✅ Fixed
👩💻 Good First Issue
‼️ High Priority
🧑💻 In Progress
🐧 Linux
🐧 Linux
💤 Low Priority
🍎 Mac
❕ Medium Priority
pull-request
🪟 Windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Launcher#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/SillyTavern-Launcher/pull/94
Author: @someotherotherguy
Created: 1/31/2025
Status: ✅ Merged
Merged: 1/31/2025
Merged by: @deffcolony
Base:
main← Head:patch-1📝 Commits (2)
e52ce30Go to parent directory after starting SillyTavernbda8539Rearrange cd's to make directory change more readable📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
launcher.sh(+3 -2)📄 Description
Noticed that after changing into and launching SillyTavern, the launcher script doesn't change back to the parent directory. Thus, when the user tries to launch again (assuming they terminated SillyTavern), it tries to change in into the SillyTavern from the SillyTavern directory and exits with something like
./launcher.sh: line 243: cd: SillyTavern: No such file or directoryI just threw in a
cd ..like I saw in other functions - optionally, in my second commit, we might rearrange thecd "SillyTavern"'s to make it clearer that the if blocks take place in the SillyTavern directory.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.