- 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
30 lines
802 B
Markdown
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`.
|