const translation = require('../translation/default')
global.p3x = {
onenote: {
lang: translation,
title: translation.title,
conf: conf,
disableHide: true,
iconFile: `${__dirname}/asset/256x256.png`,
tray: undefined,
mainWindow: undefined,
action: undefined,
menus: undefined,
createMenu: undefined,
setVisible: undefined,
createWindow: undefined,
}
}
// configuration
global.p3x.onenote.disableHide = conf.get('disable-hide')
if (global.p3x.onenote.disableHide === undefined) {