let{contextBridge,ipcRenderer}=require("electron/renderer");contextBridge.exposeInMainWorld("electronAPI",{postMessage:e=>{ipcRenderer.send("webMessage",JSON.stringify(e))},onWebMessage:n=>{ipcRenderer.on("webMessage",(e,r)=>{n({data:JSON.parse(r)})})}});
