Add menu item to Help menu that opens documentation page

This commit is contained in:
Jonatan Heyman 2024-07-08 14:14:21 +02:00
parent 478b78780d
commit 4890cd6a6b
1 changed files with 8 additions and 1 deletions

View File

@ -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')