tray-windows
npm module to create system tray apps on Windows
Installation
> npm install --save tray-windows
Usage
See example.js
for more
var tray =
Icons
Icons should be Buffers of 20x20 PNGs (alpha ok). Basic icons are included for the following colors:
Tray.icons.red() Tray.icons.yellow() Tray.icons.green() Tray.icons.black() Tray.icons.white() Tray.icons.grey()
The PSD used to produce these icons is included in the git repo in icons/icon.psd
Compatibility
This module was inspired by tray for OS X. If you're trying to write something that will work cross-platform, you can try the compatibility layer:
var createTray = var { // since `native-app`is only for OSX, we don't depend on it- // this function isn't needed, but shown here mocked out // to use the example code } // sample taken verbatim from `tray` readme:
Requirements
- Node
- Windows
- .Net 4.5+
Tested on Windows 8 x64. If you try another configuration, please let me know in an issue if it worked or not.
Contributing
Contributions welcome! Please see CONTRIBUTING.md
- jden jason@denizac.org
License
(c) MMXV jden. ISC License. See LICENSE.md.