I’m struggling with IPC between main and renderer processes. I’d like to be able to have the main process open a textfile and pass the contents async to the renderer. Do I do this with ipcMain or should I use remote ? Does this require more node.js then electron ? Is there a good example (complete code not fragment) showing how this might be done ?
thanks in advance