-
Notifications
You must be signed in to change notification settings - Fork 48
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
Migrate to newer electron #220
Comments
If you have time and enthusiasm, you can try updating the dependency and seeing whether everything/anything still works - from experience I already know that the "breaking changes" page doesn't actually list every breaking change (let alone bugs that have been introduced since then), so the cost of updating Electron is largely unpredictable. |
Sorry I don't think I'll be able to do that. Never worked with anything electron or js related. I wouldn't even know how to update the dependency... If I find some free time on the weekend I might look into it but I'm more or less certain I can't pull this off by myself. |
That's slightly more than a warning, a (yet another) function has been removed from the "render process" (where the UI is) in the name of security (?). Effectively GMEdit doesn't become any more or less secure from all these changes as the only thing that GMEdit accesses on the internet is a JSON file with function definitions for auto-completion.
You'd want to uncomment the wnd.webContents.openDevTools() call in main.js, JS console is slightly less noisy. It's most likely more functions being removed though. |
Electron v18 has been out of support for quite some time now. Please consider updating to a newer version.
Here is a list of the current electron versions.
Why is this an issue?
Quite a lot of linux distributions don't package outdated electron versions as they could be insecure. This not only makes it impossible for packagers to add GMEdit to the official repositories but it also makes it inconvinient for users that want to compile from source.
On nix the prebuild version doesnt work (because of nix linker shenanigans, don't worry abt it I didn't expect it to work).
When I tried the app-only build it would've worked if I could have used a newer electron version.
The text was updated successfully, but these errors were encountered: