var app = require('app');
var BrowserWindow = require('browser-window');
var mainWindow = null;

app.on('window-all-closed', function() {
    app.quit();
});

app.on('ready', function() {
  mainWindow = new BrowserWindow({
    "width": 225,
    "height": 225,
    "transparent": true,
    "frame": false,
    "always-on-top": true,
    "resizable": false
  });
  mainWindow.loadUrl('file://' + __dirname + '/index.html');
  mainWindow.on('closed', function() {
    mainWindow = null;
  });
});

var {app} = require('electron');
var {BrowserWindow} = require('electron');
var mainWindow = null;

app.on('window-all-closed', function() {
    app.quit();
});

app.on('ready', function() {
  mainWindow = new BrowserWindow({
    "width": 225,
    "height": 225,
    "transparent": true,
    "frame": false,
    "always-on-top": true,
    "resizable": false
  });
  mainWindow.loadURL('file://' + __dirname + '/index.html');
  mainWindow.on('closed', function() {
    mainWindow = null;
  });
});

Fix problems on the latest electron
Fix problems on the latest electron
