*[https://qiita.com/pochman/items/64b34e9827866664d436 contextBridgeについて]
contextBridgeを使えば、nodeIntegration: false,contextIsolation: trueでもIPC通信できる
*main.js Window生成**contextBridgeを使う場合、contextIsolation:true とする必要あり*main.js
<pre>
let win = new BrowserWindow({
// win.loadURL('https://service.typea.info/blogwiki');
win.loadFile('index.html');
</pre>
*main.js 通信
<pre>
const { ipcMain } = require('electron');
ipcMain.handle('invoke-test', (ev, msg) => {
console.log("Message From Renderer:" + msg);
return "Main response!";
});
</pre>