mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
This commit is contained in:
@@ -277,11 +277,7 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
.arg(&format!("{} --tray", crate::get_app_name().to_lowercase()))
|
||||
.status()
|
||||
.ok();
|
||||
hbb_common::allow_err!(crate::platform::run_as_user(
|
||||
vec!["--tray"],
|
||||
None,
|
||||
None::<(&str, &str)>,
|
||||
));
|
||||
hbb_common::allow_err!(crate::run_me(vec!["--tray"]));
|
||||
}
|
||||
#[cfg(windows)]
|
||||
crate::privacy_mode::restore_reg_connectivity(true);
|
||||
|
||||
Reference in New Issue
Block a user