electron global object
usage
# Main window object
this.app.electron.mainWindow
introduction:
- his object is an instance of new browserwindow (winoptions);
- Please refer to the API documentation of this object:https://www.electronjs.org/zh/docs/latest/api/browser-window
# Tray object
this.app.electron.tray
introduction:
- The default value of this object is null;
- Assigned in the project './electron/library/tray.js'
- Please refer to the API documentation of this object:https://www.electronjs.org/zh/docs/latest/api/tray
appQuit()
- introduction: application exit
this.app.appQuit()
extra
- introduction: extended objects
- closeWindow:true or false