remove hide_cm

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-08-30 11:48:42 +08:00
parent 0ee2b02700
commit 76a18f5ed3
5 changed files with 28 additions and 12 deletions

View File

@@ -2393,10 +2393,9 @@ async fn start_ipc(
stream = Some(s);
} else {
let mut args = vec!["--cm"];
if password::hide_cm() {
if crate::hbbs_http::sync::is_pro() && password::hide_cm() {
args.push("--hide");
};
}
#[allow(unused_mut)]
#[cfg(target_os = "linux")]
let mut user = None;