mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-30 02:14:43 +08:00
feat(terminal): add Tabby terminal support on macOS, Windows, and Linux
Add Tabby (https://github.com/Eugeny/tabby) as a preferred terminal option across all three platforms: - macOS: launch via `open -na Tabby --args run` with login shell - Windows: search multiple executable candidates (PATH, LOCALAPPDATA, ProgramFiles) and launch via `tabby run cmd /K` - Linux: add `tabby` and `tabby-terminal` to the auto-detection list Also includes: - Session manager integration with login-shell command wrapping - Terminal selector UI entries for all platforms - i18n labels (zh/en/ja) - Unit tests for Tabby arg building (with/without cwd) Closes https://github.com/farion1231/cc-switch/issues/1708
This commit is contained in:
+3
-3
@@ -303,9 +303,9 @@ export interface Settings {
|
||||
|
||||
// ===== 终端设置 =====
|
||||
// 首选终端应用(可选,默认使用系统默认终端)
|
||||
// macOS: "terminal" | "iterm2" | "warp" | "alacritty" | "kitty" | "ghostty"
|
||||
// Windows: "cmd" | "powershell" | "wt"
|
||||
// Linux: "gnome-terminal" | "konsole" | "xfce4-terminal" | "alacritty" | "kitty" | "ghostty"
|
||||
// macOS: "terminal" | "iterm2" | "alacritty" | "kitty" | "ghostty" | "wezterm" | "tabby"
|
||||
// Windows: "cmd" | "powershell" | "wt" | "tabby"
|
||||
// Linux: "gnome-terminal" | "konsole" | "xfce4-terminal" | "alacritty" | "kitty" | "ghostty" | "tabby"
|
||||
preferredTerminal?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user