feat: show service mode installation prompts in user mode

This commit is contained in:
wonfen
2025-03-03 14:42:31 +08:00
parent a18efb0e71
commit 07bdc108ed
9 changed files with 161 additions and 7 deletions

View File

@@ -81,6 +81,11 @@ impl Handle {
core_process.take()
}
/// 检查是否有运行中的核心进程
pub fn has_core_process(&self) -> bool {
self.core_process.read().is_some()
}
pub fn is_exiting(&self) -> bool {
*self.is_exiting.read()
}