2022-08-15 06:53:14 +02:00
|
|
|
const { ipcRenderer, contextBridge } = require("electron");
|
|
|
|
|
2022-08-15 09:06:31 +02:00
|
|
|
// 'ipcRenderer' will be available in index.js with the method 'window.electron'
|
|
|
|
contextBridge.exposeInMainWorld("electron", ipcRenderer);
|