Open techtonik opened 7 years ago
You can build without gcc using https://github.com/getlantern/systray (replace it in main.go). Like this it will use a dll file built with visual studio, which is even more ugly in my opinion (I can't build it from source from Linux, which is easy with gcc).
Your linked solution is probably the best, but needs a lot of work to implement in a nice way (put it into systray library). I will not do that but leaving it open in case someone else wants to do that.
Yea, I am looking into how to wrap walk
in systray
. But that systray
looks abandoned. Is its API is the best one?
I use my own fork, did not look at alternatives in the last months, maybe there is something better nowadays... (used https://github.com/overlordtm/trayhost before but that is even more abandoned and had some issues like text not updating anymore) API is ok, it was the only cross platform thing that did not have any big issues and had the needed features, so the decision was easy :laughing:
It shoud be possible to get rid of
gcc
dependency for system tray icon on Windows - https://github.com/lxn/walk/issues/68