remove linux_headless/appimage/flatpak feature
This commit is contained in:
@@ -913,8 +913,6 @@ pub fn is_root() -> bool {
|
||||
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
|
||||
#[inline]
|
||||
pub fn check_super_user_permission() -> bool {
|
||||
#[cfg(feature = "flatpak")]
|
||||
return true;
|
||||
#[cfg(any(windows, target_os = "linux", target_os = "macos"))]
|
||||
return crate::platform::check_super_user_permission().unwrap_or(false);
|
||||
#[cfg(not(any(windows, target_os = "linux", target_os = "macos")))]
|
||||
|
||||
Reference in New Issue
Block a user