mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-22 02:16:39 +02:00
fix: add close window button to macOS menu (#2254)
This commit is contained in:
+4
-2
@@ -104,14 +104,14 @@ export default class MenuBuilder {
|
||||
click: () => {
|
||||
this.mainWindow.webContents.send('renderer-open-settings');
|
||||
},
|
||||
label: 'Settings',
|
||||
label: 'Settings...',
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{
|
||||
click: () => {
|
||||
this.mainWindow.webContents.send('renderer-open-manage-servers');
|
||||
},
|
||||
label: 'Manage Servers',
|
||||
label: 'Manage Servers...',
|
||||
},
|
||||
{
|
||||
checked: privateMode,
|
||||
@@ -141,6 +141,8 @@ export default class MenuBuilder {
|
||||
},
|
||||
label: 'Create Playlist...',
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{ role: 'close' },
|
||||
],
|
||||
};
|
||||
const subMenuEdit: MenuItemConstructorOptions = { role: 'editMenu' };
|
||||
|
||||
Reference in New Issue
Block a user