const {autoUpdater} = require("electron-updater");
autoUpdater.on('checking-for-update', () => {
global.p3x.onenote.window.onenote.webContents.send('p3x-onenote-action', {
action: 'toast',
message: global.p3x.onenote.lang.updater["checking-for-update"]
})
})
autoUpdater.on('update-available', (info) => {