mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
flatpak command line is_root
This commit is contained in:
1 parent
20ce626654
commit
eb0174ea53
2 files changed
+5
-1
No files matched your search
@@ -701,7 +701,7 @@ pub fn get_env_var(k: &str) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
fn is_flatpak() -> bool {
|
||||
pub fn is_flatpak() -> bool {
|
||||
std::path::PathBuf::from("/.flatpak-info").exists()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user