Electron application ipc communication between two windows

Viewed 2940

There is ipc implementation for electron, it named ipcrenderer and ipcmain , they are intended for main process communication, and it does not work for communication between two windows (even passing instance of emitter).

I think, with real example will be more clear( https://github.com/linuxenko/usprited ) . I'd make toolbar and main window to be two different windows. The only problem is a communication between this two windows, ipc does not work, did not tried postmessage yet. What you can recommend for this case ? How or which eventemitter, implementation, use to communicate between windows of the electron application ?

1 Answers
Related