Add macOS specific speaking roles for MenuItem
This commit is contained in:
parent
5eeadb0ad4
commit
edc1a9614c
5 changed files with 43 additions and 0 deletions
|
@ -217,6 +217,22 @@ app.once('ready', () => {
|
|||
}
|
||||
]
|
||||
})
|
||||
template[1].submenu.push(
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Speech',
|
||||
submenu: [
|
||||
{
|
||||
role: 'startspeaking'
|
||||
},
|
||||
{
|
||||
role: 'stopspeaking'
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
template[3].submenu = [
|
||||
{
|
||||
role: 'close'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue