Files
dudu/desktop/src-tauri/Cargo.toml
T
wangjia 4b50ff2ce6
ci / server (push) Failing after 11s
ci / design-system (push) Failing after 11s
fix(desktop): 识别浮层浮在全屏 App 之上(FullScreenAuxiliary)
仅 alwaysOnTop 时,全屏终端/浏览器独占 Space,浮层不显示。启动时给浮层 NSWindow 追加 CanJoinAllSpaces|Stationary|FullScreenAuxiliary 集合行为(objc2 直设,主线程),使其作为辅助窗叠加到全屏 Space 上。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 22:57:00 +08:00

36 lines
1.1 KiB
TOML

[package]
name = "dudu-desktop"
version = "0.1.0"
description = "dudu 语音输入法桌面端"
edition = "2021"
[lib]
name = "dudu_desktop_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["macos-private-api", "tray-icon"] }
tauri-plugin-global-shortcut = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
futures-util = "0.3"
cpal = "0.15"
arboard = "3"
enigo = "0.2"
parking_lot = "0.12"
uuid = { version = "1", features = ["v4"] }
reqwest = { version = "0.12", features = ["json", "multipart", "rustls-tls"], default-features = false }
base64 = "0.22"
log = "0.4"
env_logger = "0.11"
# macOS:直接设置识别浮层 NSWindow 的集合行为(浮在全屏 App 之上)。
# 版本对齐 tao 依赖的 objc2 0.5.x,避免重复版本。
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5"