mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-10 18:06:01 +02:00
This commit is contained in:
parent
296aa7f8a0
commit
5c2538e7af
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue