tfw maintainers want to squeeze money outta you so much they genuinely™ delete your instructions on how to revert their shitty client-side change to free open source code (AGPL-3.0 by the way) 🤡
here you go, a full guide on how to enable the "Hide connection management window" in FREE rustdesk version
- Install Rust and Cargo, Flutter
- Clone repository and check out to version 1.4.6:
git checkout 1.4.6 - if these mfs delete it or something I attached a copy of the rustdesk/rustdesk git repository as a zip to this gist
dart pub global activate fvmfvm install 3.24.5 && fvm use 3.24.5 --force- make sure
flutter --versionsays 3.24.5 it's very important, temporarily add fvm's flutter to your PATH if needed:export PATH="$HOME/fvm/versions/3.24.5/bin:$PATH" - install flutter dependencies:
cd flutter && flutter pub get - install flutter_rust_bridge_codegen version 1.80.1 - the version is important:
cargo install flutter_rust_bridge_codegen --version 1.80.1 --locked - generate lib:
flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart - if you get "Couldn't find lib/libclang.so in specified locations" error: install
libclang-devandclang, find libclang on your system:find /usr -name "libclang*.so*" 2>/dev/nulland symlink it to where flutter usually loads clang from, for me it was /usr/lib/llvm-14/lib, sosudo ln -s /usr/lib/llvm-19/lib/libclang.so /usr/lib/llvm-14/lib/libclang.so - download rustdesk-revert-hide_cm-pr.patch from below and apply it in repository root using
git apply rustdesk-revert-hide_cm-pr.patch - run python build:
python3 build.py --flutter - install the resulting deb using
sudo dpkg -i rustdesk-1.4.6.deb
if you get errors in rust/dart, you're probably running wrong version of flutter
if this guide is deleted, find it on https://git.hloth.dev
i'll also publish my deb file I got after 6 hours of attempts
good luck