17 lines
No EOL
351 B
JavaScript
Executable file
17 lines
No EOL
351 B
JavaScript
Executable file
// 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()}) |