Skip to content

Commit

Permalink
Menu fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eclip5eLP committed Feb 1, 2020
1 parent 66b9dd1 commit 4aaf385
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4aaf385

Please sign in to comment.