mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-29 02:43:43 +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",
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user