It is possible to use this package with sandbox: true #5
Replies: 1 comment 1 reply
-
Hi @theogravity , the Electron docs say:
|
Beta Was this translation helpful? Give feedback.
-
Hi @theogravity , the Electron docs say:
|
Beta Was this translation helpful? Give feedback.
-
This is with the following security settings:
I was able to get around the limitation (which I think is because you can't use external node modules in the renderer preload process with the settings) by copying the
packages/interprocess/src
directory directly to my project (I created an ipc/interprocess subdir and had main and renderer processes be able to access it). I have not had any issues with bi-directional communication so far and was able to connect the invokers / handlers to the context bridge without issue.I made sure to include the
LICENSE
andREADME.md
file for proper attribution with the source code unmodified.Beta Was this translation helpful? Give feedback.
All reactions