mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 13:51:17 +00:00
New discovery.rs browses _openclaw-gw._tcp with a lifetime mdns-sd browser, keeps a fullname-keyed snapshot (resolved updates replace, goodbye/TTL removes), and mirrors the native clients' TXT contract and direct-selection gate (resolved SRV endpoint routing; tailnetDns is a hint only). The bootstrap page lists discovered gateways and connecting navigates the dashboard WebView to the resolved endpoint, validated against the live snapshot; remote selection cancels the local watchdog so an in-flight local bootstrap cannot steal the WebView back.
27 lines
721 B
TOML
27 lines
721 B
TOML
[package]
|
|
name = "openclaw-desktop-linux"
|
|
version = "0.1.0"
|
|
description = "OpenClaw desktop companion for Linux"
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
|
|
[[bin]]
|
|
name = "openclaw-desktop"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
tauri-build = "2.6.3"
|
|
|
|
[dependencies]
|
|
base64 = "0.22.1"
|
|
image = { version = "0.25.10", default-features = false, features = ["jpeg", "png"] }
|
|
mdns-sd = { version = "0.20", default-features = false }
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
serde_json = "1.0.150"
|
|
tauri = { version = "2.11.5", features = ["image-png", "tray-icon"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
cairo-rs = { version = "0.18.5", features = ["png"] }
|
|
libc = "0.2.186"
|
|
webkit2gtk = "2.0.2"
|