-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compatibility with electron 10 #145
Comments
Hi @Tobias-Keller , Thanks for the heads up. I haven't been involved in the Electron.js community lately, but I'll do some research. In the mean-time, what are those better methods that you are mentioning? Do you have a rough idea of how things should work on Electron.js 10, and how to add this in a backwards compatible way to this module? |
instead of using the remote module, we can use the ipc why? read this: |
So the only place that we rely on this is in order to get the
Doing this with IPC would overly complicate this module, as you would need to setup the module in the main process before using it the renderer process instead of just |
OK, so I don't think its going to be easy to completely get rid of |
Actually, are you sure this deprecation has been decided? It seems like it is still under discussion based on electron/electron#21408, and it seems to work fine for me. What exact Electron version are you testing this on? Is it actually failing for you? Can you provide a test app? |
See: #145 Signed-off-by: Juan Cruz Viotti <[email protected]>
its in the breaking changes on version 10: so i think you can reproduce this with every electron 10 app without setting |
See: #145 Signed-off-by: Juan Cruz Viotti <[email protected]>
Right, my bad. I was still accidentally running on v9. I'll update the README |
See: #145 Signed-off-by: Juan Cruz Viotti <[email protected]>
tested today the packe with electron 10
and only can use it if i activate the "enableRemoteModule" webPreference.
in electron 10 they changed the default value of "enableRemoteModule" to false,
because there are better ways.
will this be updated in this package, so electron-json-storage uses better methods?
The text was updated successfully, but these errors were encountered: