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