This commit is contained in:
rustdesk
2024-03-14 11:45:16 +08:00
parent 5253d67e04
commit 56f27ec356
42 changed files with 45 additions and 41 deletions

View File

@@ -1828,6 +1828,10 @@ pub fn is_outgoing_only() -> SyncReturn<bool> {
SyncReturn(config::is_outgoing_only())
}
pub fn is_custom_client() -> SyncReturn<bool> {
SyncReturn(get_app_name() != "RustDesk")
}
pub fn is_disable_settings() -> SyncReturn<bool> {
SyncReturn(config::is_disable_settings())
}