node.js应用程序中的系统任务栏图标 [英] System tray icon in node.js application
本文介绍了node.js应用程序中的系统任务栏图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我在node.js应用程序中所需要的:
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
这是我发现的:
- https://github.com/appjs/appjs -看起来不错,但仍然有没有系统托盘支持(它会在一段时间内完成)
- https://github.com/zcbenz/node-gui -看起来有支持我需要的所有内容,但无法安装(我认为该项目已死...)
- 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.
//编辑
自11月6日以来,Appjs都具有基本的任务栏图标支持.
推荐答案
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.
更新: 该应用程序已移至 NWjs.io ,但它是一个很棒的概念.
Update: The app has moved to NWjs.io but it's the same brilliant concept.
这篇关于node.js应用程序中的系统任务栏图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文