Prepare electron releases

This commit is contained in:
Thomas Nordquist
2019-01-01 23:48:35 +01:00
parent b2badfd43f
commit 5697b2daea
19 changed files with 10823 additions and 880 deletions

View File

@@ -1,13 +1,13 @@
// Modules to control application life and create native browser window
const {app, BrowserWindow} = require('electron')
require('mqtt-explorer-backend')
// 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
function createWindow () {
// Create the browser window.
mainWindow = new BrowserWindow({width: 800, height: 600})
mainWindow = new BrowserWindow({width: 1024, height: 600})
// and load the index.html of the app.
mainWindow.loadFile('app/index.html')