revert: flatpak command line is_root

This commit is contained in:
rustdesk committed 2025-12-05 17:26:06 +08:00
1 parent eb0174ea53
commit 4f4da20fc0
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -701,7 +701,7 @@ pub fn get_env_var(k: &str) -> String {
}
}
pub fn is_flatpak() -> bool {
fn is_flatpak() -> bool {
std::path::PathBuf::from("/.flatpak-info").exists()
}