mirror of
https://github.com/heyman/heynote.git
synced 2024-11-21 23:43:22 +01:00
Add menu item to Help menu that opens documentation page
This commit is contained in:
parent
478b78780d
commit
4890cd6a6b
@ -131,7 +131,14 @@ const template = [
|
||||
role: 'help',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Learn More',
|
||||
label: 'Documentation',
|
||||
click: async () => {
|
||||
const { shell } = require('electron')
|
||||
await shell.openExternal('https://heynote.com/docs/')
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Website',
|
||||
click: async () => {
|
||||
const { shell } = require('electron')
|
||||
await shell.openExternal('https://heynote.com')
|
||||
|
Loading…
Reference in New Issue
Block a user