mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
rename var
This commit is contained in:
parent
c9b86bc9cf
commit
d09b7e7495
1 changed files with 2 additions and 2 deletions
|
|
@ -9,11 +9,11 @@ import (
|
||||||
|
|
||||||
// SpawnInTerminal opens a new terminal window running the specified command
|
// SpawnInTerminal opens a new terminal window running the specified command
|
||||||
// This is used as a fallback when the Mac app's terminal service is not available
|
// This is used as a fallback when the Mac app's terminal service is not available
|
||||||
func SpawnInTerminal(sessionID, vibetunnelPath string, cmdline []string, workingDir string) error {
|
func SpawnInTerminal(sessionID, vtBinaryPath string, cmdline []string, workingDir string) error {
|
||||||
// Format the command to run in the terminal
|
// Format the command to run in the terminal
|
||||||
// This matches the format used by the Rust implementation
|
// This matches the format used by the Rust implementation
|
||||||
vtCommand := fmt.Sprintf("TTY_SESSION_ID=\"%s\" \"%s\" -- %s",
|
vtCommand := fmt.Sprintf("TTY_SESSION_ID=\"%s\" \"%s\" -- %s",
|
||||||
sessionID, vibetunnelPath, shellQuoteArgs(cmdline))
|
sessionID, vtBinaryPath, shellQuoteArgs(cmdline))
|
||||||
|
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "darwin":
|
case "darwin":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue