Comment by killcoder
You don’t need IPC, you can either use a preload script to expose particular Node APIs in a secure manner or set ‘nodeIntegration‘ to ‘true’ to expose everything.
Source: https://www.electronjs.org/docs/latest/api/structures/web-pr...