-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
[Tech] Update electron to version 26.2.1 #3053
Conversation
@@ -468,7 +468,7 @@ ipcMain.on('unlock', () => { | |||
unlinkSync(join(gamesConfigPath, 'lock')) | |||
if (powerId) { | |||
logInfo('Stopping Power Saver Blocker', LogPrefix.Backend) | |||
return powerSaveBlocker.stop(powerId) | |||
powerSaveBlocker.stop(powerId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to change this cause typescript starts complaining about this function with electron 26 (not all code paths returned a value)
this introduces following issue:
|
I just tried the AppImage and don't have any issues, really not sure what's going on in your case @Etaash-mathamsetty |
I'll try a new config home and see what happens |
the error message may hint a race condition of some sort |
this is probably some further evidence that somebody at google really can't code properly :/
not a renderer issue, software renderer leads to same problem |
hmmm weird, I tried with both with my usual config folder and a new clean one and I had no issues, would be interesting if you can do some debug on your end to know if it's something generic or maybe system-specific? |
is there any error in the chrome's dev tools? because the error you shared sounds like the frontend app doesn't start and then the sendFrontendMessage method fails, but seems like the issue is the chrome side not rendering things (maybe there's a dev tools error preventing that) |
dev tools disconnects, the chromium browser process is crashing internally somewhere |
this error has almost nothing to do with it actually |
maybe it's worth to try with other versions of electron? at least to identify when the problem starts, I went from 24.4.1 to 26.2.1, maybe some version in between works? |
electron 25 does not have this issue, but has another issue with gamepads and stuff might be worth trying electron 27 too |
electron 27 works properly, but has the same controller navigation bug as electron 25, you can't navigate to the gamecards. |
closing in favor of #3136 |
This PR updates Electron to version 26.2.1.
I tested HBO Max as a sideloaded app and it works fine (I think that means the DRM is good?)
I tested logging into Epic and it works fine
I tested navigating stores and it works fine
Use the following Checklist if you have changed something on the Backend or Frontend: