}
let menus = [
{
label: global.p3x.onenote.lang.label.personalHome,
click: action.home
},
{
label: global.p3x.onenote.lang.label.corporateHome,
click: action.corporate
},
{
label: global.p3x.onenote.lang.label.clearCache,
click: action.restart
},
{
label: global.p3x.onenote.lang.label.quit,
click: action.quit
}
]
if (!global.p3x.onenote.disableHide) {
const hideMenu = {
label: visible ? global.p3x.onenote.lang.label.hide : global.p3x.onenote.lang.label.show,
click: action.toggleVisible
}