Previous approach used Tauri sidecar binary with IPC commands. New approach uses the RustDesk web architecture correctly: - RustDesk server runs as native binary in --server mode (ports 21115-21119) - RustDesk web client (Flutter web build) loaded in a Tauri webview window - Web client communicates with server via WebSocket (21118/21119) Backend changes: - main.rs: Simplified IPC - start/stop server + open webview window - Removed tokio dependency (no longer needed) - Removed sidecar bundle config from tauri.conf.json Frontend changes: - RemoteDesktop.js: Toggle server on/off, launch web client webview - New UI with server control section + web client launcher - Updated CSS for the new layout - Updated HTML with server URL input and launch button Documentation: - Updated binaries/README.md with full build pipeline: 1. Build RustDesk native binary 2. Build Flutter web client 3. WASM bridge dependency note 4. Server ports reference
15 lines
306 B
TOML
15 lines
306 B
TOML
[package]
|
|
name = "shelled-os-ui"
|
|
version = "0.1.0"
|
|
description = "A Tauri App"
|
|
authors = ["you"]
|
|
edition = "2021"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|