main.js Project entry file and lifecycle
# Introducing framework core ee-coreconst Appliaction = require('ee-core').Appliaction;# main classclass Main extends Appliaction {constructor() {super();// this object is equal to the global app object of EE framework}/*** 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}}// instantiationnew Main();
