An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix https://github.com/flathub/flathub/pull/5670#issuecomment-2395067890
rustdeske7353be0cd07
diff --git a/src/platform/linux.rs b/src/platform/linux.rsindex 9c5494230..3f0860f86 100644--- a/src/platform/linux.rs+++ b/src/platform/linux.rs@@ -610,8 +610,17 @@ pub fn get_env_var(k: &str) -> String {}}+fn is_flatpak() -> bool {+ std::env::var("FLATPAK_SANDBOX_DIR").is_ok() ||+ std::env::var("FLATPAK_ID").is_ok() ||+ std::env::var("FLATPAK_SESSION_BUS_ADDRESS").is_ok()+}+// Headless is enabled, always return true.pub fn is_prelogin() -> bool {+ if is_flatpak() {+ return false;+ }let n = get_active_userid().len();n < 4 && n > 1}