[fix] update data lost between page and stutter caused by periodly checking game stats in sync mode
This commit is contained in:
@@ -64,8 +64,8 @@ pub fn kill_game() -> Result<String, String> {
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn check_process_running(process_name: &str) -> Result<bool, String> {
|
||||
Ok(common::check_process_running(process_name))
|
||||
pub async fn check_process_running(process_name: &str) -> Result<bool, String> {
|
||||
Ok(common::check_process_running_async(process_name).await)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user