mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Remove some arc, and add some custom client
This commit is contained in:
@@ -1814,7 +1814,7 @@ pub fn main_support_remove_wallpaper() -> bool {
|
||||
}
|
||||
|
||||
pub fn is_qs() -> SyncReturn<bool> {
|
||||
SyncReturn(false)
|
||||
SyncReturn(get_hard_option("connection-type") == "incoming");
|
||||
}
|
||||
|
||||
/// Send a url scheme throught the ipc.
|
||||
@@ -2052,6 +2052,10 @@ pub fn main_has_valid_2fa_sync() -> SyncReturn<bool> {
|
||||
SyncReturn(has_valid_2fa())
|
||||
}
|
||||
|
||||
pub fn main_get_hard_option(key: String) -> SyncReturn<String> {
|
||||
SyncReturn(get_hard_option(key))
|
||||
}
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
pub mod server_side {
|
||||
use hbb_common::{config, log};
|
||||
|
||||
Reference in New Issue
Block a user