17 lines
416 B
JavaScript
17 lines
416 B
JavaScript
|
// ElectronJS
|
||
|
const {app} = require('electron')
|
||
|
|
||
|
// Grab .env options
|
||
|
require('dotenv').config()
|
||
|
|
||
|
// Import Functions
|
||
|
let MainWindow = require('./mainwindow')
|
||
|
let CrashReporter = require('./crashreporter')
|
||
|
|
||
|
// Functions
|
||
|
// The Crash Reporter has been disabled for FalixNodes Desktop
|
||
|
// CrashReporter.Reporter()
|
||
|
|
||
|
// App
|
||
|
app.whenReady().then(() => {MainWindow.Create()})
|
||
|
app.on('window-all-closed', () => {app.quit()})
|