satisfy eslint
This commit is contained in:
parent
676473d9da
commit
4058eeb1f9
1 changed files with 32 additions and 28 deletions
|
@ -183,34 +183,38 @@ function initMenuBar(win: BrowserWindow) {
|
||||||
app.quit();
|
app.quit();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...(!isDarwin ? [] : [
|
...(!isDarwin
|
||||||
{
|
? []
|
||||||
type: "separator"
|
: ([
|
||||||
},
|
{
|
||||||
{
|
type: "separator"
|
||||||
label: "Settings",
|
},
|
||||||
accelerator: "CmdOrCtrl+,",
|
{
|
||||||
async click() {
|
label: "Settings",
|
||||||
mainWin.webContents.executeJavaScript("Vencord.Webpack.Common.SettingsRouter.open('My Account')")
|
accelerator: "CmdOrCtrl+,",
|
||||||
}
|
async click() {
|
||||||
},
|
mainWin.webContents.executeJavaScript(
|
||||||
{
|
"Vencord.Webpack.Common.SettingsRouter.open('My Account')"
|
||||||
type: "separator"
|
);
|
||||||
},
|
}
|
||||||
{
|
},
|
||||||
label: "Hide Vesktop", //Should probably remove the label, but it says "Hide VencordDesktop" instead of "Hide Vesktop"
|
{
|
||||||
role: "hide"
|
type: "separator"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
role: "hideOthers"
|
label: "Hide Vesktop", // Should probably remove the label, but it says "Hide VencordDesktop" instead of "Hide Vesktop"
|
||||||
},
|
role: "hide"
|
||||||
{
|
},
|
||||||
role: "unhide",
|
{
|
||||||
},
|
role: "hideOthers"
|
||||||
{
|
},
|
||||||
type: "separator"
|
{
|
||||||
}
|
role: "unhide"
|
||||||
] satisfies MenuItemList),
|
},
|
||||||
|
{
|
||||||
|
type: "separator"
|
||||||
|
}
|
||||||
|
] satisfies MenuItemList)),
|
||||||
{
|
{
|
||||||
label: "Quit",
|
label: "Quit",
|
||||||
accelerator: wantCtrlQ ? "CmdOrCtrl+Q" : void 0,
|
accelerator: wantCtrlQ ? "CmdOrCtrl+Q" : void 0,
|
||||||
|
|
Reference in a new issue