node.js应用程序中的系统任务栏图标 [英] System tray icon in node.js application

查看:153
本文介绍了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 - 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆