mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-19 22:22:06 +00:00
restore original menu lint
This commit is contained in:
17
menu.js
17
menu.js
@ -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",
|
label: "Tray",
|
||||||
submenu: [
|
submenu: [
|
||||||
@ -180,6 +172,15 @@ const mainMenuTemplate = (win, withRoles = true, isTray = false) => [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{ type: "separator" },
|
{ 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",
|
label: "Toggle DevTools",
|
||||||
// Cannot use "toggleDevTools" role in MacOS
|
// Cannot use "toggleDevTools" role in MacOS
|
||||||
|
|||||||
Reference in New Issue
Block a user