const electron = require('electron');
var mysql = require("mysql");
const app = electron.app;
const path = require('path');
const url = require('url');
const BrowserWindow = electron.BrowserWindow;
var mainWindow;
app.on('ready', function(){
mainWindow = new BrowserWindow({width:1024, height:768, backgroundcolor:'#2e2c29'});
mainWindow.loadURL(url.format({
pathname: path.join(__dirname, '1.html'),
protocol: 'file:',
slashes: true
}));
});