Show the panel on launch so the app is discoverable
The app has no Dock icon and the menu bar icon is easy to miss on a
full bar, so a fresh launch looked like nothing happened.
💘 Generated with Crush
Assisted-by: Crush:kimi-k3
This commit is contained in:
@@ -39,6 +39,12 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
HotkeyManager.shared.start()
|
HotkeyManager.shared.start()
|
||||||
|
|
||||||
setupStatusItem()
|
setupStatusItem()
|
||||||
|
|
||||||
|
// Show the panel on launch so the app is discoverable (it has no Dock
|
||||||
|
// icon and the menu bar icon can be hard to spot on a full bar).
|
||||||
|
Task { @MainActor in
|
||||||
|
PanelController.shared.show()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private func setupStatusItem() {
|
private func setupStatusItem() {
|
||||||
|
|||||||
Reference in New Issue
Block a user