Merge branch 'main' into macos-titlebarstyle-inset

This commit is contained in:
V 2023-07-14 02:07:06 +02:00 committed by GitHub
commit 9135f1aba4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,10 +148,9 @@ function initMenuBar(win: BrowserWindow) {
app.quit();
}
},
{
isWindows && {
label: "Quit",
accelerator: isWindows ? "Alt+F4" : void 0,
visible: isWindows,
accelerator: "Alt+F4",
role: "quit",
click() {
app.quit();