This repository has been archived on 2023-10-03. You can view files and clone it, but cannot push or open issues or pull requests.
NervUpdaterClient/renderer.js

8 lines
302 B
JavaScript

// You can also put expose this code to the renderer
// process with the `contextBridge` API
const { ipcRenderer } = require('electron')
// render proccess receiver for github api data
ipcRenderer.on('github-lookup', (_event, arg) => {
console.log(arg) // prints "pong" in the DevTools console
});