allow hide cm for self-host pro

This commit is contained in:
rustdesk 2023-09-13 13:54:02 +08:00
parent 75f5212661
commit e2ccaf2c91

View File

@ -2415,7 +2415,6 @@ async fn start_ipc(
#[allow(unused_mut)]
#[allow(unused_assignments)]
let mut args = vec!["--cm"];
#[cfg(not(windows))]
if crate::hbbs_http::sync::is_pro() && password::hide_cm() {
args.push("--hide");
}