mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
fix ci
This commit is contained in:
parent
421ddc0016
commit
877b3e2ce5
@ -266,10 +266,10 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
hbb_common::allow_err!(crate::platform::check_autostart_config());
|
||||
std::process::Command::new("pkill")
|
||||
.arg("-f")
|
||||
.arg(&format!("%s --tray", crate::get_app_name().to_lowercase()))
|
||||
.arg(&format!("{} --tray", crate::get_app_name().to_lowercase()))
|
||||
.status()
|
||||
.ok();
|
||||
allow_err!(crate::crate::platform::run_as_user(vec!["--tray"]));
|
||||
hbb_common::allow_err!(crate::crate::platform::run_as_user(vec!["--tray"]));
|
||||
}
|
||||
#[cfg(windows)]
|
||||
crate::privacy_mode::restore_reg_connectivity(true);
|
||||
|
Loading…
Reference in New Issue
Block a user