17 lines
No EOL
351 B
JavaScript
17 lines
No EOL
351 B
JavaScript
// ElectronJS
|
|
const {app} = require('electron')
|
|
|
|
// Grab .env options
|
|
require('dotenv').config()
|
|
|
|
// Import Functions
|
|
let MainWindow = require('./mainwindow')
|
|
let CrashReporter = require('./crashreporter')
|
|
|
|
// Functions
|
|
|
|
CrashReporter.Reporter()
|
|
|
|
// App
|
|
app.whenReady().then(() => {MainWindow.Create()})
|
|
app.on('window-all-closed', () => {app.quit()}) |