restore original menu lint

This commit is contained in:
Araxeus
2021-04-30 04:33:23 +03:00
parent 54cbe3faa4
commit d0d4ada7c2

17
menu.js
View File

@ -128,14 +128,6 @@ const mainMenuTemplate = (win, withRoles = true, isTray = false) => [
},
]
: []),
{
label: "Proxy",
type: "checkbox",
checked: !!config.get("options.proxy"),
click: (item) => {
setProxy(item, win);
}
},
{
label: "Tray",
submenu: [
@ -180,6 +172,15 @@ const mainMenuTemplate = (win, withRoles = true, isTray = false) => [
],
},
{ type: "separator" },
// Should be put in Advanced Options submenu
{
label: "Proxy",
type: "checkbox",
checked: !!config.get("options.proxy"),
click: (item) => {
setProxy(item, win);
}
},
{
label: "Toggle DevTools",
// Cannot use "toggleDevTools" role in MacOS