mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
fix: nightly ci
This commit is contained in:
1 parent
d0aedaedce
commit
1109598131
5 files changed
+58
-11
No files matched your search
@@ -807,6 +807,8 @@ pub fn is_root() -> bool {
|
||||
|
||||
#[inline]
|
||||
pub fn check_super_user_permission() -> bool {
|
||||
#[cfg(feature = "flatpak")]
|
||||
return true;
|
||||
#[cfg(any(windows, target_os = "linux"))]
|
||||
return crate::platform::check_super_user_permission().unwrap_or(false);
|
||||
#[cfg(not(any(windows, target_os = "linux")))]
|
||||
|
||||
Reference in new issue
Block a user