Closed vladimirschuka closed 1 year ago
I am facing same issue.
This is happening when I try to launch the systray in a seperate goroutine. If it is launched in main goroutine, OnReady is getting executed.
I am facing this issue on MAC. However on window it works fine.
I am facing same issue.
This is happening when I try to launch the systray in a seperate goroutine. If it is launched in main goroutine, OnReady is getting executed.
I am facing this issue on MAC. However on window it works fine.
Running GUI on the main thread is a macos requirement I believe.
Maybe this could help: https://github.com/golang-design/mainthread
It must be run on the mainthread on macOS. This has been added to the documentation, thanks!
Hi, I'm really interested in that project but for some reason it does not work as expected. What I mean: I have done such an example:
but systray never show up. I found out that
onReady()
never executed.I have tried
go systray.Run(onReady, nil)
but it also doesn't work because ofWhat do I wrong? or it is already known problem.