4 lines
168 B
JavaScript
4 lines
168 B
JavaScript
const { ipcRenderer, remote } = require('electron')
|
|
|
|
ipcRenderer.send('answer', process.argv, remote.getCurrentWindow().webContents.getWebPreferences())
|
|
window.close()
|