const {app, BrowserWindow, Menu} = require('electron');
const path = require('path');
const url = require('url');

function createTaskWindow() {
    win = new BrowserWindow({width: 1050
                            , height: 800
                            , minWidth: 1050
                            , show: true});
    var u = url.format({
        pathname: path.join(__dirname,'..', '..', 'index.html'),
        protocol: 'file:',
        slashes: true
    })
    win.baseURL = u;
    win.loadURL(u);
    win.webContents.openDevTools('bottom');
    return win;
}

module.exports = createTaskWindow

const {app, BrowserWindow, Menu} = require('electron');
const path = require('path');
const url = require('url');

function createTaskWindow() {
    win = new BrowserWindow({width: 1050
                            , height: 800
                            , minWidth: 1050
                            , show: true});
    var u = url.format({
        pathname: path.join(__dirname,'..', '..', 'index.html'),
        protocol: 'file:',
        slashes: true
    })
    win.baseURL = u;
    win.loadURL(u);
    // win.webContents.openDevTools('bottom');
    return win;
}

module.exports = createTaskWindow

remove devTools