This commit is contained in:
rustdesk 2023-03-20 09:36:36 +08:00
parent 706e080071
commit 88072a334f

@ -809,7 +809,7 @@ pub async fn get_key(sync: bool) -> String {
}; };
if key.is_empty() { if key.is_empty() {
#[cfg(windows)] #[cfg(windows)]
if let Some(lic) = windows::get_license() { if let Some(lic) = crate::platform::windows::get_license() {
return lic.key; return lic.key;
} }
} }