mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
windows remove "--cm-no-ui", "--cm --hide"
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -2412,7 +2412,10 @@ async fn start_ipc(
|
||||
if let Ok(s) = crate::ipc::connect(1000, "_cm").await {
|
||||
stream = Some(s);
|
||||
} else {
|
||||
#[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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user