Please see the examples as documentation is currently lacking.
Tray Indicator uses icons from gresources on Linux and .rc
-files on Windows.
These resourses have to be packed into the final binary.
* MacOS does not allow running applications in threads other than main, meaning that
it is not possible to listen for events in a new thread. See the macos.rs
example for a how-to.