mirror of
https://github.com/heyman/heynote.git
synced 2025-02-16 10:19:55 +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',
|
role: 'help',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Learn More',
|
label: 'Documentation',
|
||||||
|
click: async () => {
|
||||||
|
const { shell } = require('electron')
|
||||||
|
await shell.openExternal('https://heynote.com/docs/')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Website',
|
||||||
click: async () => {
|
click: async () => {
|
||||||
const { shell } = require('electron')
|
const { shell } = require('electron')
|
||||||
await shell.openExternal('https://heynote.com')
|
await shell.openExternal('https://heynote.com')
|
||||||
|
Loading…
Reference in New Issue
Block a user