From 4aaf385b51e4493c9dcaf253017db5cee46fdde4 Mon Sep 17 00:00:00 2001 From: Eclip5e <32602757+Eclip5eLP@users.noreply.github.com> Date: Sat, 1 Feb 2020 02:49:53 +0100 Subject: [PATCH] Menu fix --- main.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index 7eb6d23..6a01dee 100644 --- a/main.js +++ b/main.js @@ -39,10 +39,11 @@ const menuTemplate = [ label: "File", submenu: [ { - label: "Load File" - }, - { - label: "Label 2" + label: "Console", + accelerator: process.platform == "darwin" ? "Command+I" : "Ctrl+I", + click() { + win.webContents.openDevTools(); + } }, { label: "Quit",