projects/shelled/shelled-os-ui/src-tauri/binaries/README.md
Z User f88e2c8fb4 feat: integrate RustDesk remote desktop into Shelled OS
- Add hbb_common as git submodule (was missing)
- Add Tauri sidecar configuration for RustDesk binary
- Implement Rust backend IPC commands:
  - start_rustdesk: Launch RustDesk sidecar process
  - stop_rustdesk: Kill running RustDesk process
  - get_rustdesk_status: Check if RustDesk is running
  - connect_to_peer: Connect to a remote peer by ID
- Create RemoteDesktop JS component with:
  - Peer ID input and connect/disconnect buttons
  - Real-time status indicator (disconnected/connecting/connected/error)
  - Recent connections list with quick reconnect
  - Tauri event listener for backend status updates
- Add Remote Desktop taskbar button (remote_login icon)
- Add full CSS styling with glassmorphism design
- Create binaries/ directory with build instructions
- Update capabilities with shell:allow-spawn permission
- Add tokio dependency for async runtime
2026-04-06 19:16:19 +00:00

30 lines
802 B
Markdown

# RustDesk Sidecar Binary
Place the compiled RustDesk binary here:
- **Windows**: `rustdesk-x86_64-pc-windows-msvc.exe` → rename to `rustdesk.exe`
- **Linux**: `rustdesk-x86_64-unknown-linux-gnu` → rename to `rustdesk`
- **macOS**: `rustdesk-universal-apple-darwin` → rename to `rustdesk`
## How to build RustDesk
See `shelled/rustdesk-as-ref/CLAUDE.md` for build instructions.
### Quick build (Windows with vcpkg)
```powershell
cd shelled/rustdesk-as-ref
set VCPKG_ROOT=<your-vcpkg-install-path>
cargo build --release
```
The output binary will be at:
`target/release/rustdesk.exe`
Copy it to this directory:
```powershell
copy target\release\rustdesk.exe shelled\shelled-os-ui\src-tauri\binaries\rustdesk.exe
```
Tauri will automatically bundle this binary when you run `tauri build`.