From 443dcde26016dabb022f43f0267a4e4caa5ca96e Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 22 Jun 2023 09:34:53 +0200 Subject: [PATCH] menu --- apps/remixdesktop/src/menus/darwin.ts | 15 ++------------- apps/remixdesktop/src/menus/file.ts | 4 ++-- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/apps/remixdesktop/src/menus/darwin.ts b/apps/remixdesktop/src/menus/darwin.ts index f40e6f59b4..410691fbde 100644 --- a/apps/remixdesktop/src/menus/darwin.ts +++ b/apps/remixdesktop/src/menus/darwin.ts @@ -20,19 +20,8 @@ export default ( type: 'separator' }, { - role: 'hide' - }, - { - role: 'hideOthers' - }, - { - role: 'unhide' - }, - { - type: 'separator' - }, - { - role: 'quit' + role: 'quit', + label: 'Quit Remix' } ] }; diff --git a/apps/remixdesktop/src/menus/file.ts b/apps/remixdesktop/src/menus/file.ts index 2f9bb1e95c..8830fd158d 100644 --- a/apps/remixdesktop/src/menus/file.ts +++ b/apps/remixdesktop/src/menus/file.ts @@ -1,4 +1,4 @@ -import {BrowserWindow, MenuItemConstructorOptions} from 'electron'; +import { BrowserWindow, MenuItemConstructorOptions } from 'electron'; export default ( commandKeys: Record, @@ -28,7 +28,7 @@ export default ( click(item, focusedWindow) { execCommand('template:open', focusedWindow); } - }, + } ] }; };