Port psyTerm to macOS and package a native app bundle

This commit is contained in:
James Magahern
2026-11-17 11:49:40 -08:00
parent 6b2bd8c064
commit 20ca5447ef
11 changed files with 844 additions and 509 deletions
+21 -2
View File
@@ -4,20 +4,39 @@ version = "0.1.0"
edition = "2024"
publish = false
[package.metadata.bundle]
name = "psyTerm"
identifier = "dev.buzzert.psyterm"
category = "Developer Tool"
icon = ["assets/psyTerm.icns"]
resources = [
"THIRD_PARTY_NOTICES.md",
"licenses",
"vendor/gpui/LICENSE-APACHE",
"vendor/gpui/PATCH.md",
"vendor/xattr/LICENSE-*",
]
short_description = "Terminal emulator and multiplexer"
[dependencies]
alacritty_terminal = "=0.26.0"
anyhow = "1"
serde = { version = "1", features = ["derive"] }
bincode = "1.3"
async-channel = "2"
gpui = { version = "=0.2.2", default-features = false, features = ["wayland"] }
log = "0.4"
env_logger = "0.11"
futures-lite = "2"
unicode-segmentation = "1"
libc = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
gpui = { version = "=0.2.2", default-features = false, features = ["wayland"] }
[target.'cfg(target_os = "macos")'.dependencies]
# Embed Metal source so building the app needs only the Xcode command line tools.
gpui = { version = "=0.2.2", default-features = false, features = ["font-kit", "runtime_shaders"] }
nix = { version = "0.29", features = ["event", "poll", "signal", "user"] }
[patch.crates-io]
# GPUI's zed-async-tar uses xattr 0.2.3, whose Linux ENOATTR alias was removed