diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-05-01 21:40:31 -0700 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-05-01 21:40:31 -0700 |
| commit | 02097db31224526a5006d08f960593562da40aeb (patch) | |
| tree | dd266d80d28c1dc5854e17fec9925382d583e4c4 /Hotline | |
| parent | 88fe99f7c491c4a09de1dcaee6ae9269c1c87f53 (diff) | |
Add "Download Latest" menu item to help.
Diffstat (limited to 'Hotline')
| -rw-r--r-- | Hotline/Application-macOS.swift | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Hotline/Application-macOS.swift b/Hotline/Application-macOS.swift index 34fec3e..4cad224 100644 --- a/Hotline/Application-macOS.swift +++ b/Hotline/Application-macOS.swift @@ -118,6 +118,12 @@ struct Application: App { openURL(url) } } + Divider() + Button("Download Latest...") { + if let url = URL(string: "https://github.com/mierau/hotline/releases/latest") { + openURL(url) + } + } } CommandMenu("Server") { Button("Disconnect") { |