mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
1 parent
7c2d7df62e
commit
3e4a867115
4 files changed
+102
-77
No files matched your search
@@ -789,9 +789,7 @@ fn cm_inner_send(id: i32, data: Data) {
|
||||
|
||||
pub fn can_elevate() -> bool {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
return !crate::platform::is_installed() && !crate::portable_service::client::running();
|
||||
}
|
||||
return !crate::platform::is_installed();
|
||||
#[cfg(not(windows))]
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user