mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-10 17:47:19 +00:00
Check on foreground
This commit is contained in:
parent
edf01cc6d4
commit
7de561af5d
@ -33,6 +33,9 @@ struct Secretive: App {
|
||||
_ = LaunchAgentController().install()
|
||||
}
|
||||
}
|
||||
.onReceive(NotificationCenter.default.publisher(for: NSApplication.willBecomeActiveNotification)) { _ in
|
||||
agentStatusChecker.check()
|
||||
}
|
||||
}
|
||||
.commands {
|
||||
CommandGroup(after: CommandGroupPlacement.newItem) {
|
||||
|
Loading…
Reference in New Issue
Block a user