在渲染器进程(网页) 中。 const { ipcRenderer } = require('electron') // 向主进程synchronous-message发送消息,并接收返回结果 console.log(ipcRenderer.
確定! 回上一頁