mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix: Fix sysinfo >=0.29.1 crashing the main view on macOS
This commit is contained in:
@@ -38,7 +38,7 @@ libc = "0.2"
|
||||
dlopen = "0.1"
|
||||
toml = "0.7"
|
||||
uuid = { version = "1.3", features = ["v4"] }
|
||||
sysinfo = "0.29"
|
||||
sysinfo = {git = "https://github.com/GuillaumeGomez/sysinfo"}
|
||||
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
mac_address = "1.1"
|
||||
|
||||
@@ -26,7 +26,7 @@ use hbb_common::{
|
||||
supported_decoding::PreferCodec, video_frame, Chroma, CodecAbility, EncodedVideoFrames,
|
||||
SupportedDecoding, SupportedEncoding, VideoFrame,
|
||||
},
|
||||
sysinfo::{System, SystemExt},
|
||||
sysinfo::{System},
|
||||
tokio::time::Instant,
|
||||
ResultType,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user