mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
fix mobile build
This commit is contained in:
parent
e8587436d6
commit
cf31ec3a53
1 changed files with 5 additions and 2 deletions
|
|
@ -338,10 +338,13 @@ pub fn set_socks(proxy: String, username: String, password: String) {
|
|||
.ok();
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
#[inline]
|
||||
pub fn is_installed() -> bool {
|
||||
crate::platform::is_installed()
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
return crate::platform::is_installed();
|
||||
}
|
||||
false
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Reference in a new issue