From c1489647d18253ae2bdb2b4a6e7749d618a33ad6 Mon Sep 17 00:00:00 2001 From: oomeow Date: Sat, 6 Dec 2025 20:22:07 +0800 Subject: [PATCH] fix: update service status when service is ready --- src-tauri/src/core/service.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/core/service.rs b/src-tauri/src/core/service.rs index c2fcec9cd..05e59df14 100644 --- a/src-tauri/src/core/service.rs +++ b/src-tauri/src/core/service.rs @@ -532,6 +532,7 @@ impl ServiceManager { match status { ServiceStatus::Ready => { logging!(info, Type::Service, "服务就绪,直接启动"); + self.0 = ServiceStatus::Ready; } ServiceStatus::NeedsReinstall | ServiceStatus::ReinstallRequired => { logging!(info, Type::Service, "服务需要重装,执行重装流程");