-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Upgrade electron from 16 > 18 #2359
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
Upgrade electron from 16 > 18 #2359
Conversation
eb2eb7f to
51c9c5c
Compare
|
This should also fix #2190. |
|
17 will be reaching end of life soon so if there's no issues with this one then I'd prefer this PR gets merged |
|
If most people prefer 19 I can make a PR for 19 lol |
|
Will also improve the security issue in the dependency, like these two CVEs: |
|
This will require a bunch of testing on linux as electron 18 caused the issues in #2163. |
|
I'm currently testing this on my GNU/Linux system. Will let you know if I get any crashes. |
|
If anyone wants to try this, you can download a build of it here: https://github.com/absidue/FreeTube/actions/runs/2703009618 Tried this in a Ubuntu 22.04 VMware VM and noticed some weird rendering issues. The toggle loop button disappears when the video is full screen: The rendering of the devtools is completely broken too: Unfortunately this seems to be an upstream issue with Electron as Visual Studio Code has the same issue: microsoft/vscode#154705 |
|
When I middle click to open a video in a new window, the application crashes. |
51c9c5c to
9a2cf60
Compare
Pull request was closed


Pull Request Type
Please select what type of pull request this is:
Related issue
Might or might not fix issue in #2113
Closes #2358
Description

16.x is not supported anymore
From https://www.electronjs.org/blog/electron-17-0
Breaking change in 17.x =
desktopCapturer.getSourcesBreaking change in 18.x =
nativeWindowOpenShould be safe to upgrade if true
Screenshots (if appropriate)
N/A
Testing (for code that is not small enough to be easily understandable)
Open app, open new window via
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.