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

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