Add restart

This commit is contained in:
Max Goedjen
2022-12-22 18:33:05 -05:00
parent 8679ca3da0
commit 9fc7d2548e
4 changed files with 12 additions and 2 deletions

View File

@@ -149,6 +149,9 @@ extension ContentView {
.padding(5)
Text("SecretAgent is a process that runs in the background to sign requests, so you don't need to keep Secretive open all the time.\n\n**You can close Secretive, and everything will still keep working.**")
.frame(width: 300)
Button("Restart Agent") {
self.agentStatusChecker.restart()
}
}
.padding()
}