mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54:59 +01:00
Set appropriate appMenu submenu role
This commit is contained in:
parent
8f4c827089
commit
8ae641bc59
@ -125,6 +125,7 @@ function buildMenuTemplate() {
|
|||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
template.unshift({
|
template.unshift({
|
||||||
// first macOS menu is the name of the app
|
// first macOS menu is the name of the app
|
||||||
|
role: 'appMenu',
|
||||||
label: app.name,
|
label: app.name,
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user