getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area
Apache License 2.0
3.28k stars 451 forks source link

Support URL scheme handling #275

Closed satyamsi closed 2 months ago

satyamsi commented 3 months ago

All operating systems support custom URL schemes that allows to open applications on Desktop. As systray is the main application, for the golang code to get the URL passed to application instance, this has to be part of main application.

This change is based on the repo:

https://github.com/BlakeWilliams/b-r-o-w-s-e

And the blog post:

https://blakewilliams.me/posts/handling-macos-url-schemes-with-go