分离主进程与渲染进程的功能,禁用remote模块

This commit is contained in:
lyswhut
2019-11-03 09:53:19 +08:00
parent fddfaf23ce
commit a2af321c5e
25 changed files with 130 additions and 75 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const { mainOn } = require('../../common/icp')
const { mainOn } = require('../../common/ipc')
mainOn('restartWindow', (event, name) => {