Files
UNITRONIX 956e30935b fix(rdclient): GPU codecs, collapsible dashboard scroll, and session UX
Enable vendor-aware VA-API/GStreamer and WebView2 hardware decode for smoother
remote video; fix Connect invoke, session back-to-close, and dashboard layout
with collapsible device list and sidebar sections that scroll inside the window.
2026-06-14 19:58:15 +02:00

21 lines
446 B
Bash
Executable File

#!/usr/bin/env bash
# Full rebuild of RdClient desktop (no Cargo cache).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
echo "==> Removing src-tauri/target (cargo cache)..."
rm -rf src-tauri/target
echo "==> npm install (if needed)..."
npm install
MODE="${1:-dev}"
if [[ "$MODE" == "build" ]]; then
echo "==> Production build (tauri build)..."
npm run build
else
echo "==> Dev run (tauri dev)..."
npm run dev
fi