aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hotline/Application.swift14
1 files changed, 14 insertions, 0 deletions
diff --git a/Hotline/Application.swift b/Hotline/Application.swift
index a8b4098..bf484ba 100644
--- a/Hotline/Application.swift
+++ b/Hotline/Application.swift
@@ -10,6 +10,7 @@ struct Application: App {
#if os(macOS)
@Environment(\.openWindow) private var openWindow
+ @Environment(\.openURL) private var openURL
#endif
@State private var preferences = Prefs()
@@ -55,6 +56,19 @@ struct Application: App {
}
.keyboardShortcut(.init("K"), modifiers: .command)
}
+ CommandGroup(after: .help) {
+ Divider()
+ Button("Request Feature...") {
+ if let url = URL(string: "https://github.com/mierau/hotline/issues/new?labels=enhancement") {
+ openURL(url)
+ }
+ }
+ Button("Report Bug...") {
+ if let url = URL(string: "https://github.com/mierau/hotline/issues/new?labels=bug") {
+ openURL(url)
+ }
+ }
+ }
CommandMenu("Server") {
Button("Disconnect") {
activeHotline?.disconnect()