ee-core:v2.0.3
框架封装的electron功能,将在此模块提供API。
注:子进程中无法使用所有涉及electron的api
const Electron = require('ee-core/electron');
返回主窗口对象。包含BrowserWindow的所有实例api
Electron.mainWindow
返回 Object 。其中closeWindow属性,用来控制窗口退出。
← ee electron/app→