This commit is contained in:
哆啦好梦
2023-04-10 10:52:20 +08:00
parent b94f327d54
commit 5d71482d47
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// const { MessageChannel, ProcessManager } = require('electron-re');
/**
* 多进程
*/
module.exports = {
/**
* 安装
*/
install (eeApp) {
eeApp.logger.info('[preload] load processPool module');
//ProcessManager.openWindow();
}
}

View File

@@ -8,6 +8,7 @@ const is = require('electron-is');
const tray = require('../library/tray');
const security = require('../library/security');
const awaken = require('../library/awaken');
const multiProcess = require('../library/multiProcess');
/**
* 预加载模块入口
@@ -23,6 +24,8 @@ module.exports = async (app) => {
awaken.install(app);
multiProcess.install(app);
loadUpdate(app);
}

View File

@@ -114,6 +114,7 @@
"dayjs": "^1.10.7",
"ee-core": "^1.3.3",
"electron-is": "^3.0.0",
"electron-re": "^1.2.4",
"lodash": "^4.17.21"
}
}