mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 00:36:14 +00:00
opt & fix:
- main window ui: adapt pc logic - fix: platform infomation using device info plus Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
1 parent
4519dd8cf9
commit
82895e6951
9 files changed
+278
-191
No files matched your search
+2
-2
@@ -171,11 +171,11 @@ unsafe extern "C" fn get_by_name(name: *const c_char, arg: *const c_char) -> *co
|
||||
}
|
||||
}
|
||||
// Server Side
|
||||
#[cfg(target_os = "android")]
|
||||
#[cfg(not(any(target_os = "ios")))]
|
||||
"clients_state" => {
|
||||
res = get_clients_state();
|
||||
}
|
||||
#[cfg(target_os = "android")]
|
||||
#[cfg(not(any(target_os = "ios")))]
|
||||
"check_clients_length" => {
|
||||
if let Ok(value) = arg.to_str() {
|
||||
if value.parse::<usize>().unwrap_or(usize::MAX) != get_clients_length() {
|
||||
|
||||
Reference in new issue
Block a user