electron 菜单栏_如何在Electron JS中添加任务栏图标菜单?

  • Post author:
  • Post category:其他


electron 菜单栏

If you are new here, please consider checking out my recent articles on

Electron JS including Tray Icons

.

如果您是新来的,请考虑查看我最近关于

Electron JS的

文章,

包括托盘图标

In this tutorial, we will set up 2 menu items for a tray icon which when a user right-clicks, the menu appears just like the image below.

在本教程中,我们将为托盘图标设置2个菜单项,当用户右键单击时,菜单如下图所示。