-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 to v4 #3329
Upgrade Electron to v4 #3329
Conversation
Additionally I'm removing a call to disable pinch-zoom, it's disable by default since Electron 2 (https://electronjs.org/releases#2.0.0)
We have a problem with titlebar: Transparent on top of Hyper UPDATE: fixed 7fce112 |
4.0 is final as of today https://github.com/electron/electron/releases/tag/v4.0.0 |
That looks like electron-rebuild needs an update for electron v4 @MarshallOfSound |
@Stanzilla, It works now with the new node-abi https://github.com/lgeiger/node-abi/releases/tag/v2.5.1 |
ah, great, yarn was a bit annoying back in the day and would not upgrade that without electron-rebuild using it. |
Yeah, I struggled with that too. The trick is to delete Here's the yarn issue: yarnpkg/yarn#4986 |
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.
node version has to be updated for AppVeyor and CircleCI as well
@Stanzilla, not sure what you mean here. Is there anything else other than these two lines? https://github.com/zeit/hyper/pull/3329/files#diff-354f30a63fb0907d4ad57269548329e3R9 Following this table: |
@juancampa nope that's fine, I just did not see the appveyor change in your PR. For Circle, I don't know how they specify node versions, I did not set up that CI. |
Looks like it's passing, so I'm not gonna worry about it for now |
@Stanzilla, did you by any chance tested this branch on windows? I'm looking for someone to help me there, since I don't have a windows machine. A quick sanity check would be super helpful |
Sure thing! It looks like you forgot to address https://github.com/electron/electron/blob/master/docs/api/breaking-changes.md#appmakesingleinstance and it errors because of it. |
@Stanzilla sorry for the delay, I just had to back-merge canary. We reverted the commit that introduced that call. Feel free to test again when you get a few. |
https://i.imgur.com/DH6D9I1.png Try looking at my initial electron v2 PR to see if you have all those changes covered #2967 |
@Stanzilla weird, I'm pretty sure I had that, since I did test the menus. I must have missed it in a rebase or merge. Should be good now |
Does the config have a new location? it ignores what I do in ~/.hyper.js |
It doesn't. Seems to work fine on Linux and MacOS (I just changed the font size) |
font size works, shell does not, |
Yeah, I'm seeing it too, but it doesn't seem to work on the canary branch either so it must be something else |
QA's been on a long vacation :D |
@Stanzilla, Ok, I just looked into it and it was introduced by my optimistic session creation PR. Working on a fix |
Sounds great! |
Here's the fix on the shell issue: #3367. @Stanzilla let me know if everything worked fine on Windows so we can move forward with this PR |
well that was a quick and unexpected merge, but I can confirm that it works as expected now. |
Optimistic merge |
Supersedes #3325
Talked to @rauchg and we think it's better to skip v3 altogether, go straight for v4, and use the canary channel to test it.
Sanity checks: