Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit ef767c9

Browse files
committed
fix: macos menu for new roles
1 parent e51144c commit ef767c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/menu/macos-menu.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ export function createMacMenu(
1111
const appMenu: Electron.MenuItemConstructorOptions = {
1212
label: name,
1313
submenu: [
14-
{ label: `About ${name}`, role: "orderFrontStandardAboutPanel" },
14+
{ label: `About ${name}`, role: "about" },
1515
{ type: "separator" },
1616
{ label: `Hide ${name}`, accelerator: "Command+H", role: "hide" },
17-
{ label: "Hide Others", accelerator: "Command+Option+H", role: "hideOtherApplications" },
18-
{ label: "Show All", role: "unhideAllApplications" },
17+
{ label: "Hide Others", accelerator: "Command+Option+H", role: "hideothers" },
18+
{ label: "Show All", role: "unhide" },
1919
{ type: "separator" },
2020
{ ...shared.quit, accelerator: "Command+Q" },
2121
],

0 commit comments

Comments
 (0)