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, "服务需要重装,执行重装流程");