text: 'use strict';
  
  const electron = require('electron');
  const app = electron.app;
  const BrowserWindow = electron.BrowserWindow;
  
  let mainWindow = null;
  
  app.on('window-all-closed', () => {
    if (process.platform !== 'darwin') app.quit();
  });
  
  app.on('ready', () => {
    mainWindow = new BrowserWindow({
      width: 670,
      height: 550,
      useContentSize: true
    });
    mainWindow.loadURL(`file://${__dirname}/index.html`);
    mainWindow.on('closed', () => { mainWindow = null; });
  });