native-window-open-isolated-preload.js 135 B

123456
  1. const {ipcRenderer} = require('electron')
  2. window.addEventListener('message', (event) => {
  3. ipcRenderer.send('answer', event.data)
  4. })