mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-17 19:19:23 +01:00
6 lines
167 B
JavaScript
6 lines
167 B
JavaScript
const { ipcRenderer, contextBridge } = require("electron");
|
|
|
|
contextBridge.exposeInMainWorld("electron", {
|
|
message: (data) => ipcRenderer.send("message", data),
|
|
});
|