Files
upscayl/main/preload.js
Nayam Amarshe 0e1e2d1229 Init
2022-08-02 14:28:24 +05:30

11 lines
406 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable @typescript-eslint/no-namespace */
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const electron_1 = require("electron");
// Since we disabled nodeIntegration we can reintroduce
// needed node functionality here
process.once('loaded', () => {
global.ipcRenderer = electron_1.ipcRenderer;
});