How to integrate a local js library in an Electron application?
I have a js library which I want to include and use in my Electron app.
Electron IPC vs Electron Preload scripts
I am new to using Electron JS and I do not fully understand the differences between IPC and preload script to communicate Node modules with the Renderer process since it seems that both systems are capable of doing so. I have seen examples of people who directly communicated main.js with their renderer.js using IPC, and others who used preload.js.
electron-store returns “Property ‘set’ does not exist on type”
I’m using electron-store
for a demo electron project. In my main.ts
process, I’m attempting to initialize the store and retrieve a simple settings object. It looks like this: