|
@@ -5,7 +5,7 @@ use anyhow::{bail, Context, Result};
|
|
use once_cell::sync::OnceCell;
|
|
use once_cell::sync::OnceCell;
|
|
use parking_lot::Mutex;
|
|
use parking_lot::Mutex;
|
|
use std::{fs, io::Write, sync::Arc, time::Duration};
|
|
use std::{fs, io::Write, sync::Arc, time::Duration};
|
|
-use sysinfo::{Pid, PidExt, ProcessExt, System, SystemExt};
|
|
|
|
|
|
+use sysinfo::{Pid, System};
|
|
use tauri::api::process::{Command, CommandChild, CommandEvent};
|
|
use tauri::api::process::{Command, CommandChild, CommandEvent};
|
|
use tokio::time::sleep;
|
|
use tokio::time::sleep;
|
|
|
|
|