This commit is contained in:
rustdesk
2023-03-20 00:56:17 +08:00
parent 4d827708c3
commit 706e080071
4 changed files with 22 additions and 21 deletions

View File

@@ -22,14 +22,6 @@ use hbb_common::{message_proto::CursorData, ResultType};
#[cfg(not(target_os = "macos"))]
const SERVICE_INTERVAL: u64 = 300;
pub fn get_license_key() -> String {
#[cfg(windows)]
if let Some(lic) = windows::get_license() {
return lic.key;
}
Default::default()
}
pub fn is_xfce() -> bool {
#[cfg(target_os = "linux")]
{