问题
This is what I need in my node.js application:
- System tray icon
- changing this icon during application work
- menu after clicking on icon
- creation of windows with fields for login / password and confirmation buttons
This is what I found:
- https://github.com/appjs/appjs - It looks good, but there is still no system tray support (it looks it will be done in some time)
- https://github.com/zcbenz/node-gui - It looks there is support for all I need, but I can't install it (I think this project is dead...)
Do you have any recommendations? I need something reliable, easy to install and as cross-system as possible.
//edit
Since 6th November Appjs has basic tray icon support.
回答1:
For anyone else that lands up here, check out https://github.com/rogerwang/node-webkit - a great package that allows you to create desktop applications using your favourite tools like JavaScript, with support for native shell access, tray icons and a lot more.
Update: The app has moved to NWjs.io but it's the same brilliant concept.
回答2:
Take a look at Node-QT (https://github.com/arturadib/node-qt) maybe that can help.
来源:https://stackoverflow.com/questions/12979727/system-tray-icon-in-node-js-application