fix(service): avoid sticky availability probes

This commit is contained in:
wonfen
2026-07-25 15:22:46 +08:00
parent 7796259b03
commit e599a9d02c
10 changed files with 68 additions and 203 deletions
-5
View File
@@ -42,11 +42,6 @@ pub async fn repair_service() -> CmdResult {
execute_service_operation_sync(ServiceStatus::ForceReinstallRequired, "SERVICE_REPAIR_FAILED").await
}
#[tauri::command]
pub async fn is_service_available() -> CmdResult<bool> {
Ok(service::is_service_available().await)
}
#[tauri::command]
pub async fn get_service_install_state() -> CmdResult<service::ServiceInstallState> {
Ok(SERVICE_MANAGER.install_state().await)