mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-28 07:31:01 +03:00
translate rustdesk
This commit is contained in:
@@ -984,6 +984,11 @@ pub fn get_app_name() -> String {
|
||||
hbb_common::config::APP_NAME.read().unwrap().clone()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_rustdesk() -> bool {
|
||||
hbb_common::config::APP_NAME.read().unwrap().eq("RustDesk")
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_uri_prefix() -> String {
|
||||
format!("{}://", get_app_name().to_lowercase())
|
||||
|
||||
Reference in New Issue
Block a user