deckarep / gosx-notifier

gosx-notifier is a Go framework for sending desktop notifications to OSX 10.8 or higher
MIT License
588 stars 51 forks source link

Embed the terminal-notifier so it's statically linked to the app and deploy-able to other environments. #1

Closed deckarep closed 10 years ago

deckarep commented 10 years ago

Currently, the terminal-notifier is found by being in the GOPATH src directory of the project. If you deploy a binary using this package, the terminal-notifier dependency will also need to be moved over and setup to be found. This can lead to trouble and confusion. The solution is to embed the terminal-notifier statically into the package such that it can be utilized in any environment.

deckarep commented 10 years ago

Closing this, the app is no longer dependent on the binary being external. The binary is embedded as a Go source file of bytes as a zipped resource.