This repository was archived by the owner on May 12, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
For the release following the roadmap #43, I think it's essential to upgrade Electron, ideally to the latest version, v41.
The main problem is that Electron deprecated the 'remote' module starting from version v14.
And... the remote module is used extensively in the preload script (static/main-preload.js).
It's used for:
On the other hand, Electron has the module @electron/remote, which allows the use of electron.remote in newer versions.
So, there are two options for the next release:
Add @electron/remote in package.json and replace electron.remote with require('@electron/remote') in the preload.
Migrate each function to IPC handlers in the main process.
I am thinking that if you have work done in the branches I can see in the repository, migrating could cause problems, requiring rewrites and dealing with conflicts. So maybe it's better to merge all the new features and fixes written beforehand, release the new version, and modernize the code afterward.
What do you think?
All reactions