feat(desktop): terminal pane (#5081)

Co-authored-by: Github Action <action@github.com>
Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
Adam 2025-12-04 15:37:29 -06:00 committed by GitHub
parent b1202ac6db
commit d763c11a6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 2302 additions and 405 deletions

View file

@ -0,0 +1,13 @@
export function shell() {
const s = process.env.SHELL
if (s) return s
if (process.platform === "darwin") {
return "/bin/zsh"
}
if (process.platform === "win32") {
return process.env.COMSPEC || "cmd.exe"
}
const bash = Bun.which("bash")
if (bash) return bash
return "bash"
}