function createWindow () {

    // Creates the new window
    const browserWindow = new BrowserWindow({
        width: 800,
        height: 600,
        title: 'Map Viewer',
        webPreferences: {
            nodeIntegration: true
        }
    });

    // Loads the index file
    browserWindow.loadFile('index.html');
    Menu.setApplicationMenu(null);

    // Loads the DEV tools
    // browserWindow.webContents.openDevTools();
}
/**
 * Creates the window for the application.
 */
Creates the window for the application.
Creates the window for the application .
function createWindow () {
    const browserWindow = new BrowserWindow({
        width: 800,
        height: 600,
        title: 'Map Viewer',
        webPreferences: {
            nodeIntegration: true
        }
    });
    browserWindow.loadFile('index.html');
    Menu.setApplicationMenu(null);
}
function createWindow ( ) { const browserWindow = new BrowserWindow ( { width : 800 , height : 600 , title : 'Map Viewer' , webPreferences : { nodeIntegration : true } } ) ; browserWindow . loadFile ( 'index.html' ) ; Menu . setApplicationMenu ( null ) ; }
Creates the window for the application.
Creates the window for the application .
// Creates the new window // Loads the index file // Loads the DEV tools // browserWindow.webContents.openDevTools();