1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-09-24 03:18:28 +02:00
upscayl/main/preload.js

5 lines
200 B
JavaScript
Raw Normal View History

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);