1
Fork 0
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

17 lines
351 B
JavaScript
Raw Normal View History

2023-02-13 13:57:11 -05:00
// ElectronJS
2023-03-30 21:53:16 -04:00
const {app} = require('electron')
2023-01-25 03:25:56 -05:00
2023-02-13 13:57:11 -05:00
// Grab .env options
2023-02-12 12:35:24 -05:00
require('dotenv').config()
2023-02-13 13:57:11 -05:00
2023-03-30 21:53:16 -04:00
// Import Functions
let MainWindow = require('./mainwindow')
let CrashReporter = require('./crashreporter')
2023-03-30 21:53:16 -04:00
// Functions
2023-03-30 21:53:16 -04:00
CrashReporter.Reporter()
2023-01-24 22:38:54 -05:00
// App
2023-03-30 21:53:16 -04:00
app.whenReady().then(() => {MainWindow.Create()})
app.on('window-all-closed', () => {app.quit()})