[PR #48] [MERGED] Creation of Custom Shortcuts For App Launching #103

Closed
opened 2026-10-15 18:07:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/SillyTavern-Launcher/pull/48
Author: @BlueprintCoding
Created: 4/21/2024
Status: ✅ Merged
Merged: 4/21/2024
Merged by: @deffcolony

Base: main ← Head: main


📝 Commits (1)

  • 205d20d Creation of Custom Shortcuts For App Launching

📊 Changes

1 file changed (+132 additions, -10 deletions)

View changed files

📝 Launcher.bat (+132 -10)

📄 Description

  1. Custom Shortcut Creation:
  • Implemented a feature that allows users to create a custom shortcut for launching specific apps from the toolbox with SillyTavern directly from the main menu with a single button push.
  • Added a command (:create_custom_shortcut) to dynamically generate and save these shortcuts to a text file, "custom-shortcut.txt" in "\bin\settings".
  1. Shortcut Execution:
  • Introduced the :launch_custom_shortcut command to execute shortcuts based on the contents of the custom-shortcut.txt file. This includes a mechanism to read and process commands line-by-line from the file.
  • Adjusted command flow to launch SillyTavern without using :start_st as it ends with a goto :home, breaking the chaining of commands.
  • Changed the following commands to end with goto :home to ensure users return to the home menu smoothly after application launches:
    • :start_ooba, :start_koboldcpp, :start_tabbyapi, :start_alltalk, :start_xtts, :start_rvc, :start_sdwebui, :start_sdwebuiforge, :start_comfyui, :start_fooocus
  1. Toolbox Menu Enhancement:
  • Introduced a new option "Reset Custom Shortcut" in the toolbox menu that allows users to delete the existing custom shortcut txt file, effectively resetting the custom shortcut setup.
  1. Gitignore Configuration:
  • Confirmed that the bin/ directory and all its contents, such as the settings/custom-shortcut.txt, remain untracked by Git to protect user-specific settings from being overwritten during updates.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/SillyTavern-Launcher/pull/48 **Author:** [@BlueprintCoding](https://github.com/BlueprintCoding) **Created:** 4/21/2024 **Status:** ✅ Merged **Merged:** 4/21/2024 **Merged by:** [@deffcolony](https://github.com/deffcolony) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`205d20d`](https://github.com/SillyTavern/SillyTavern-Launcher/commit/205d20da2bdb46bff07387b6de93778d3310ee95) Creation of Custom Shortcuts For App Launching ### 📊 Changes **1 file changed** (+132 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `Launcher.bat` (+132 -10) </details> ### 📄 Description 1. **Custom Shortcut Creation:** - Implemented a feature that allows users to create a custom shortcut for launching specific apps from the toolbox with SillyTavern directly from the main menu with a single button push. - Added a command (:create_custom_shortcut) to dynamically generate and save these shortcuts to a text file, "custom-shortcut.txt" in "\bin\settings". 2. **Shortcut Execution:** - Introduced the :launch_custom_shortcut command to execute shortcuts based on the contents of the custom-shortcut.txt file. This includes a mechanism to read and process commands line-by-line from the file. - Adjusted command flow to launch SillyTavern without using :start_st as it ends with a goto :home, breaking the chaining of commands. - Changed the following commands to end with goto :home to ensure users return to the home menu smoothly after application launches: - :start_ooba, :start_koboldcpp, :start_tabbyapi, :start_alltalk, :start_xtts, :start_rvc, :start_sdwebui, :start_sdwebuiforge, :start_comfyui, :start_fooocus 3. **Toolbox Menu Enhancement:** - Introduced a new option "Reset Custom Shortcut" in the toolbox menu that allows users to delete the existing custom shortcut txt file, effectively resetting the custom shortcut setup. 4. **Gitignore Configuration:** - Confirmed that the bin/ directory and all its contents, such as the settings/custom-shortcut.txt, remain untracked by Git to protect user-specific settings from being overwritten during updates. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 18:07:00 +00:00
Sign in to join this conversation.
No description provided.