Merge branch 'main' into macos-titlebarstyle-inset
This commit is contained in:
commit
9135f1aba4
1 changed files with 2 additions and 3 deletions
|
@ -148,10 +148,9 @@ function initMenuBar(win: BrowserWindow) {
|
||||||
app.quit();
|
app.quit();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
isWindows && {
|
||||||
label: "Quit",
|
label: "Quit",
|
||||||
accelerator: isWindows ? "Alt+F4" : void 0,
|
accelerator: "Alt+F4",
|
||||||
visible: isWindows,
|
|
||||||
role: "quit",
|
role: "quit",
|
||||||
click() {
|
click() {
|
||||||
app.quit();
|
app.quit();
|
||||||
|
|
Reference in a new issue