text: const { app, BrowserWindow } = require('electron')
  
  // Keep a global reference of the window object, if you don't, the window will
  // be closed automatically when the JavaScript object is garbage collected.
  let mainWindow
  
  // https://github.com/electron/electron/issues/1335
  //app.disableHardwareAcceleration(); // This will enable mouse click through
  
  function createWindow() {
      mainWindow = new BrowserWindow({
          width: 480,
          height: 220,
          resizable: false,
          maximizable: false,
          frame: false,
          transparent: true
      })
      var id = mainWindow.id
  
      mainWindow.loadFile('index.html')
  
      //mainWindow.webContents.openDevTools({mode: 'undocked'})
  
      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()
      }
  })
  