mirror of
https://github.com/upscayl/upscayl.git
synced 2024-09-24 03:18:28 +02:00
5 lines
200 B
JavaScript
5 lines
200 B
JavaScript
const { ipcRenderer, contextBridge } = require("electron");
|
|
|
|
// 'ipcRenderer' will be available in index.js with the method 'window.electron'
|
|
contextBridge.exposeInMainWorld("electron", ipcRenderer);
|