~buffrr


#155 Using gio with systray a month ago

Ticket created by ~buffrr on ~eliasnaur/gio

Hello, I'm trying to use gio with https://github.com/getlantern/systray

systray.Run(onReady, onExit) blocks and must be run on the main thread.

gio's app.Main() also blocks and must be run on the main thread. This isn't a problem on windows but on macos I can either run gio or systray. If you attempt to run either in a go routine, the app will crash.

Is there a way around this? It would be cool if gio had built-in support for adding icon/menu in notification area because it's useful in desktop apps.