1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

help menu

This commit is contained in:
Andrew Simachev 2020-05-14 17:57:35 +03:00
parent eb80eebff3
commit 8f26a60c94
2 changed files with 11 additions and 5 deletions

View file

@ -122,9 +122,15 @@ function createWindow () {
submenu: [
{
label: 'Table of contents',
click: function () {
win.webContents.send('help');
}
click: function () { win.webContents.send('help', 'index'); }
},
{
label: 'Keyboard & Shortcuts',
click: function () { win.webContents.send('help', 'shortcuts'); }
},
{
label: 'What\'s new',
click: function () { win.webContents.send('help', 'new'); }
},
]
},