mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-03 20:11:28 +03:00
remove more "rustdesk" built-in
This commit is contained in:
@@ -979,10 +979,16 @@ async fn check_software_update_() -> hbb_common::ResultType<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_app_name() -> String {
|
||||
hbb_common::config::APP_NAME.read().unwrap().clone()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_uri_prefix() -> String {
|
||||
format!("{}://", get_app_name().to_lowercase())
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub fn get_full_name() -> String {
|
||||
format!(
|
||||
@@ -1512,7 +1518,7 @@ mod tests {
|
||||
assert_eq!(times, tokio_times);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_tokio_time_interval_sleep() {
|
||||
let mut timer = interval_maker();
|
||||
|
||||
Reference in New Issue
Block a user