mirror of
https://github.com/celisej567/Vesktop.git
synced 2026-01-04 10:10:01 +03:00
fix: remove duplicate quit items on macOS (#49)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user