This commit is contained in:
Max Goedjen
2021-12-11 17:56:22 -08:00
parent 9b1f33b332
commit 5891e64c60
4 changed files with 18 additions and 10 deletions

View File

@@ -16,7 +16,11 @@ class AgentStatusChecker: ObservableObject, AgentStatusCheckerProtocol {
}
func check() {
running = instanceSecretAgentProcess != nil
Task {
await MainActor.run {
running = instanceSecretAgentProcess != nil
}
}
}
// All processes, including ones from older versions, etc