getlantern / systray

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

Support URL scheme handling #275

Closed satyamsi closed 4 months ago

satyamsi commented 5 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