From f1ff04c8bc2907ff8732a454ba9a1c941a361b80 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 19 Mar 2020 23:42:09 +0000 Subject: [PATCH] Register Mac electron specific Cmd+, shortcut to User Settings Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/vectormenu.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vectormenu.js b/src/vectormenu.js index 3d52527..987c1df 100644 --- a/src/vectormenu.js +++ b/src/vectormenu.js @@ -40,6 +40,11 @@ const template = [ { role: 'zoomin', accelerator: 'CommandOrControl+=' }, { role: 'zoomout' }, { type: 'separator' }, + { + label: 'Preferences', + accelerator: 'Command+,', // Mac-only accelerator + click() { global.mainWindow.webContents.send('preferences'); }, + }, { role: 'togglefullscreen' }, { role: 'toggledevtools' }, ],