mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-03 14:41:26 +03:00
hide-tray option
This commit is contained in:
@@ -32,7 +32,7 @@ use hbb_common::{
|
||||
use crate::{
|
||||
check_port,
|
||||
server::{check_zombie, new as new_server, ServerPtr},
|
||||
ui_interface::get_buildin_option,
|
||||
ui_interface::get_builtin_option,
|
||||
};
|
||||
|
||||
type Message = RendezvousMessage;
|
||||
@@ -391,7 +391,7 @@ impl RendezvousMediator {
|
||||
};
|
||||
if (cfg!(debug_assertions) && option_env!("TEST_TCP").is_some())
|
||||
|| is_http_proxy
|
||||
|| get_buildin_option(config::keys::OPTION_DISABLE_UDP) == "Y"
|
||||
|| get_builtin_option(config::keys::OPTION_DISABLE_UDP) == "Y"
|
||||
{
|
||||
Self::start_tcp(server, host).await
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user