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",