mirror of
https://github.com/heyman/heynote.git
synced 2024-11-22 07:54:11 +01:00
Add File menu on Windows
This commit is contained in:
parent
428a3172ab
commit
751dfa0a73
@ -26,8 +26,18 @@ const template = [
|
||||
{ type: 'separator' },
|
||||
{ role: 'quit' }
|
||||
]
|
||||
}] : []),
|
||||
// { role: 'fileMenu' }
|
||||
}] : [{
|
||||
role: 'fileMenu',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Preferences',
|
||||
click: (menuItem, window, event) => {
|
||||
window?.webContents.send(OPEN_SETTINGS_EVENT)
|
||||
},
|
||||
},
|
||||
{ role: 'about' },
|
||||
],
|
||||
}]),
|
||||
/*{
|
||||
label: 'File',
|
||||
submenu: [
|
||||
|
Loading…
Reference in New Issue
Block a user