RSS Git Download  Clone
Raw Blame History
const { app } = require('electron')

app.on('ready', global.p3x.onenote.createWindow.onenote);

app.on('window-all-closed', function () {

    if (process.platform !== 'darwin') {
        app.quit();
    }
});

app.on('activate', function () {
    if (global.p3x.onenote.window.onenote === null) {
        global.p3x.onenote.createWindow.onenote();
    }
});