text: 
  const {app, BrowserWindow} = require('electron')
  const path = require('path')
  
  let mainWindow
  
  function createWindow () {
    mainWindow = new BrowserWindow({
      width: 1024,
      height: 780,
      fullscreen:false,
      autoHideMenuBar:true,
      webPreferences: {
        preload: path.join(__dirname, 'preload.js')
      }
    })
  
    
    mainWindow.loadFile('index.html')
    mainWindow.removeMenu()
    
    // mainWindow.webContents.openDevTools()
  
    
    mainWindow.on('closed', function () {
      mainWindow = null
    })
  }
  
  app.on('ready', createWindow)
  
  app.on('window-all-closed', function () {
    if (process.platform !== 'darwin') app.quit()
  })
  
  app.on('activate', function () {
    if (mainWindow === null) createWindow()
  })
  