1 2 3 4 5 6 7 8 9
const debug = require('debug')('Ferdi:feature:basicAuth:main'); export default function mainIpcHandler(mainWindow, authInfo) { debug('Sending basic auth call', authInfo); mainWindow.webContents.send('feature:basic-auth', { authInfo, }); }