How to add a new Top menu in ElectronJS without any submenu items?

37 Views Asked by At
[
  {
    role: 'help',
    submenu: [...]
  },
  {
    label: 'Upgrade',
    submenu: [],
  }
]

The new menu is also visible if the submenu is an empty array:

Menu screenshot

I want to show this menu without submenu, which means that when I click on this menu, it will navigate me to a specific action like a button.

0

There are 0 best solutions below