mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +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()))
|
.arg(&format!("{} --tray", crate::get_app_name().to_lowercase()))
|
||||||
.status()
|
.status()
|
||||||
.ok();
|
.ok();
|
||||||
hbb_common::allow_err!(crate::platform::run_as_user(
|
hbb_common::allow_err!(crate::run_me(vec!["--tray"]));
|
||||||
vec!["--tray"],
|
|
||||||
None,
|
|
||||||
None::<(&str, &str)>,
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
crate::privacy_mode::restore_reg_connectivity(true);
|
crate::privacy_mode::restore_reg_connectivity(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue