You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should use titlebar.refreshMenu(), an asynchronous method that refreshes the menu with what is in Menu.getApplicationMenu(), after updating the menu with the sample code you showed above.
Problem Description
On recent electron version, changing the menu using the example or other methods didnt work and the menu in the title bar simply disappear.
Steps to Reproduce
Expected Behavior
The title bar is updated with the new menu
Current Behavior
the menu disappear
Additional Information
11
v20.5.0
27.0.2
/ also didn't work on^26.0.0
The text was updated successfully, but these errors were encountered: