mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 19:47:17 +00:00
update machine-uid for x86 sciter access x64 machine id
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -1037,7 +1037,12 @@ pub async fn change_id_shared_(id: String, old_id: String) -> &'static str {
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
let uuid = Bytes::from(machine_uid::get().unwrap_or("".to_owned()).as_bytes().to_vec());
|
||||
let uuid = Bytes::from(
|
||||
hbb_common::machine_uid::get()
|
||||
.unwrap_or("".to_owned())
|
||||
.as_bytes()
|
||||
.to_vec(),
|
||||
);
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
let uuid = Bytes::from(hbb_common::get_uuid());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user