I recently wrapped Cryptocat with node-webkit (still awaiting PR approval https://github.com/cryptocat/cryptocat/pull/694), hence allow me to give you some lib recommendations:
- Use node-webkit-builder (https://github.com/mllrsohn/grunt-node-webkit-builder) for your build-process (your Gruntfile.js looks very bloated currently).
- Use node-notifier (https://github.com/mikaelbr/node-notifier) for desktop notifications (looks like the best solution so far).
Anyways, best luck to you.