kill check-hwcodec-config process

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-02-21 15:07:44 +08:00
parent 95a0d90891
commit 4beacf93d7
7 changed files with 31 additions and 16 deletions

View File

@@ -558,7 +558,7 @@ pub fn hide_dock() {
}
fn check_main_window() -> bool {
use sysinfo::{ProcessExt, System, SystemExt};
use hbb_common::sysinfo::{ProcessExt, System, SystemExt};
let mut sys = System::new();
sys.refresh_processes();
let app = format!("/Applications/{}.app", crate::get_app_name());