#how to use npm package in renderer process with nodeIntegration disabled
16 messages · Page 1 of 1 (latest)
Can you provide me a example with preload? thanks
Electron inherits its multi-process architecture from Chromium, which makes the framework architecturally very similar to a modern web browser. This guide will expand on the concepts applied in the tutorial.
One key security feature in Chromium is that processes can be executed within a sandbox. The sandbox limits the harm that malicious code can cause by limiting access to most system resources — sandboxed processes can only freely use CPU cycles and memory. In order to perform operations requiring additional privilege, sandboxed processes use dedi...
if I disable sandbox, it works. How can I make it work with sandbox enabled?
Use IPC?
npm package seems can't use directly😫
Does webpack works?