Files
electron-egg/main.js
2022-03-11 17:55:17 +08:00

43 lines
532 B
JavaScript

const Appliaction = require('ee-core').Appliaction;
class Main extends Appliaction {
constructor() {
super();
// this === eeApp;
}
/**
* core app have been loaded
*/
async ready () {
// do some things
}
/**
* electron app ready
*/
async electronAppReady () {
// do some things
}
/**
* main window have been loaded
*/
async windowReady () {
// do some things
}
/**
* before app close
*/
async beforeClose () {
// do some things
}
}
new Main();