Skip to content

Commit

Permalink
feat: add services menu on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Jan 19, 2024
1 parent 90cc8d7 commit 9317ded
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ export const getMainMenus = () => process.platform === 'darwin' ? Menu.buildFrom
submenu: [
{ type: 'normal', label: $t('app.preferences'), click: () => getAction('show-main-window-setting')() },
{ type: 'normal', label: $t('app.toggle-fullscreen'), accelerator: 'Ctrl+command+F', click: () => getAction('toggle-fullscreen')() },
{ type: 'normal', label: $t('app.quit'), accelerator: 'Command+Q', click: () => getAction('quit')() }
{ type: 'separator' },
{ role: 'services', submenu: [] },
{ type: 'separator' },
{ type: 'normal', label: $t('app.quit'), accelerator: 'Command+Q', click: () => getAction('quit')() },
]
},
{
Expand Down

1 comment on commit 9317ded

@vercel
Copy link

@vercel vercel bot commented on 9317ded Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.