standardize
This commit is contained in:
parent
c34d868609
commit
f80e81bf9f
2 changed files with 26 additions and 14 deletions
|
@ -119,10 +119,12 @@ const {app, Menu} = require('electron')
|
|||
|
||||
const dockMenu = Menu.buildFromTemplate([
|
||||
{label: 'New Window', click () { console.log('New Window') }},
|
||||
{label: 'New Window with Settings', submenu: [
|
||||
{label: 'Basic'},
|
||||
{label: 'Pro'}
|
||||
]},
|
||||
{label: 'New Window with Settings',
|
||||
submenu: [
|
||||
{label: 'Basic'},
|
||||
{label: 'Pro'}
|
||||
]
|
||||
},
|
||||
{label: 'New Command...'}
|
||||
])
|
||||
app.dock.setMenu(dockMenu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue