Update electron to v32
Closes #6530
This update is long due, this update shouldn't require deep changes to GDevelop, and only needed minor updates to a few dependencies. I picked v32 instead of latest as there are changes to native modules in v33 that might have more unpredictable impacts on desktop builds.
Tested the IDE, tested making and running a manual build of a test project with the steamworks extension. Everything seems to work.
Thanks for doing this! I'll launch an experimental build to see if we can test built versions on multiple systems.
Hmm.... The build errors are because the ubuntu version of the CI is too old and doesn't bundle gcc with c++ 20 support :/ I had not updated to the latest version of electron precisely to avoid these troubles, but I guess electron-builder already adopted the requirement too :sweat:
That means that the one-click packaging service probably also will need to be updated and tested for c++ 20 support before shipping this update!
(We probably should wait before updating electron more still though, as there are other breaking changes with worrying implications in v33)
oh my god what is UP with these CI
We can ignore semaphore and Travis. I'll launch experimental builds for this branch
Started 👍 Let's see
I added in a little extra fix - if you used the "Hide a window" electron action, requestAnimationFrame would stop firing, making it impossible to get the window to come back up - I set an option on previews and build BrowserWindows to disable this behavior.
Hmm, it looks like electron-builder slightly changed the code signing configuration
Just tested this on Windows and macOS, so far I don't see any issue! :) A web export seems to work, no issues found when playing a few projects, Piskel seem to work fine.
You said you could run a manual build of a game with Steamworks, no issue there too? I believe that's the main "native module" that we rely on. Anything else on your mind that would be worth checking?
hm, i tired doing a one click build with the nightly build and it looks like it didnt work... the build service will need to be adapted before merging
Ah right obviously the electron version of games is also updated. Totally overlooked this. I'll take a look!