fix mobile build

This commit is contained in:
csf 2022-09-23 16:56:28 +08:00
parent e8587436d6
commit cf31ec3a53

View File

@ -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]