使用rust which包来查找命令路径,解决部分电脑环境变量识别问题

This commit is contained in:
xintaofei
2026-03-18 22:59:12 +08:00
parent 0209de17eb
commit e3784fb3f3
5 changed files with 55 additions and 27 deletions

View File

@@ -48,6 +48,7 @@ notify = "6"
base64 = "0.22"
agent-client-protocol-schema = { version = "0.10", features = ["unstable_session_usage", "unstable_session_fork"] }
kill_tree = { version = "0.2", features = ["tokio"] }
which = "7"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-window-state = "2"