Theo Gravity
Theo Gravity
@matthewgertner I think it's safe to fork and publish a new one.
One note: You can't use `interprocess` via npm package install if you use [`sandbox: true`](https://www.electronjs.org/docs/latest/tutorial/sandbox) for the `BrowserWindow` prefs because the sandbox won't let you use import node modules in...
Just updated our `interprocess` to latest as I was trying to figure out a memory leak around invocations, which the latest version does fix in `createMainInvokers.ts`: ``` if (!store.main.availableRendererIpcChannels.has(ipcChannel)) {...
Another feature suggestion is invoker / handler middleware. I have a custom class that wraps the handlers: ``` /** * This wraps the IPC handlers with another method that will...
here's what I did for the invokers ``` /** * Wraps a try / catch around the invokers to ignore errors around the corresponding handler not * being registered (this...
I don't really know what would be good DX for the `sandbox: true` case, but maybe you can have an `npx` command that would just copy the src dir (along...
The IPC base class we use to create categories of IPCs might help give you ideas: ```typescript // in main process interface IpcHandlers { remove: Record void>; } type HandlerCallback...
For those who stumbled across this issue, I built a library that resolves a lot of issues that `electron-dl` has (including this one): https://github.com/theogravity/electron-dl-manager I use the alternative technique I...
@codebytere Can we ban the above poster? It's the second time I've seen this person comment in my issue tickets with junk. It seems to be generated from AI.