This repository has been archived on 2024-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
Nexus-Polestar/electron/index.js
2023-07-23 20:45:17 -04:00

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()})