cratonica / trayhost

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

Maybe a better way to disable the command prompt window on Windows #2

Closed bbigras- closed 9 years ago

bbigras- commented 9 years ago

Instead of using editbin to disable the command prompt window on Windows, why not just build using go build -ldflags -H=windowsgui?

cratonica commented 9 years ago

I was unaware of this trick. Next time I'm on a Windows machine, I'll try it out!

You can also feel free to submit a pull request for README.md if you want.