cratonica / trayhost

Cross-platform Go library to place an icon in the host operating system's taskbar
MIT License
283 stars 59 forks source link

Mac Menu Bar #9

Open donatj opened 7 years ago

donatj commented 7 years ago

I don't know if this is possible, certainly not with the current code. Nor do I know if this is within the intended scope of this library but I would love to have my app in the universal menu bar on the top right of my mac rather than the Dock.

dmitshur commented 7 years ago

I think this library already does exactly that.

See this screenshot of an app that uses my fork of this library:

Is that what you're looking for?

donatj commented 7 years ago

It is exactly what I'm looking for… But all I am getting is as follows: (excuse my really bad icon, its just a PNG I had that happened to already be 64x64)

screen shot 2017-03-10 at 5 59 05 pm

image

with nothing in my status bar…

screen shot 2017-03-10 at 5 59 00 pm

dmitshur commented 7 years ago

I see. I guess this package has changed since I last looked at it (or maybe you're not using it in a way that gives you a tray icon, or using a very outdated version).

Try my fork, it should do what you want.

cratonica commented 7 years ago

Indeed, I think many of the forks are more feature-complete than this is now.