This commit is contained in:
Thomas Nordquist
2019-01-08 03:29:18 +01:00
parent 723666e2cb
commit 2a800dc7ca
17 changed files with 86 additions and 120 deletions

View File

@@ -1,6 +1,10 @@
// Modules to control application life and create native browser window
const {app, BrowserWindow} = require('electron')
require('./backend/build/backend/src/index.js')
try {
require('./backend/build/backend/src/index.js')
} catch (err) {
console.error(err)
}
// 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