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
Update Electron to v6 #3785
Update Electron to v6 #3785
Conversation
Anyone able to help me figure out why the CI is failing. I don't seem to be getting all of these warnings and errors when I build the app locally |
You need to update node-pty. the old version does not work with node 10+ afaik |
Hey @razfriman are you willing to pick this up again? |
I seem to be having issues doing this upgrade actually. Things don't seem to be working well for me with node 12 and electron 6. Perhaps someone else can take this over |
package.json
Outdated
"eslint": "4.7.2", | ||
"eslint-config-prettier": "2.6.0", | ||
"eslint-plugin-prettier": "2.3.1", | ||
"eslint-plugin-react": "7.3.0", | ||
"husky": "0.14.3", | ||
"inquirer": "5.1.0", | ||
"node-gyp": "3.6.2", | ||
"node-gyp": "5.0.3", | ||
"node-pty": "^0.8.1", |
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.
@Stanzilla this is the problem, you need to get on one of the newer beta builds for Electron 6 support. Try node-pty@0.9.0-beta26
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.
@Tyriar hrm, still errors :(
@Stanzilla You might need to also tweak the version of node you're building with. @deepak1556 what version of node.js should builds be using with Electron 6? |
it seems to be using an old version of node-gyp, not sure why |
https://electronjs.org/blog/electron-6-0 says 12.4.0, CI seems to use |
@Stanzilla electron@6.0.8 will break native module compilation on windows due to electron/electron#20185, it has been fixed yesterday and new version will be released today, please update to that when its available. It should fix the build issues you are seeing. |
@deepak1556 oh interesting, thanks! I hope this really is it then, because I tried with 6.0.0 before and it was the same issue |
oh, missed it. wait for the feedback of @LabhanshAgrawal about the initial load resize issue. |
yup! |
The initial load resize is working. I can see it being rendered a bit small and then resizing but it's very quick and isn't really a problem according to me. |
@LabhanshAgrawal can you make a screenshot/video of that remaining problem, please? |
I think the text rendering is the problem of fonts or browser. https://stackblitz.com/edit/typescript-dausj9?file=index.ts you can test with different fonts. |
Oh yeah, I'd probably blame that on fonts |
@ivanwonder in this I haven't changed anything, the text looks moved up to me. Is this supposed to be like this? |
Look the alphabet |
yep, seems like my powerline glyphs are buggy |
if you mind this, try render type dom. it shows ok. |
it's ok, I'll look for new fonts |
if #3848 has been solved. maybe close. |
I will once we merge this one. |
@ivanwonder I tried out |
@LabhanshAgrawal but that was before the electron update, caused by the xterm update, right? so not blocking this PR. |
Checked with canary, no font issue there also |
That does not answer my question though :D |
I noticed it in xterm update, but it was working on using canvas renderer. But it's not working with this PR even with canvas renderer. |
ok |
But I think the issue is small, so it should not block the PR, we can track it separately. |
yeah, agree |
there's nothing else blocking this, right? |
nope I just some last testing and everything looks good, so, merging! |
because there are different version of chrome between them , run that page on hyper 3.0.2
…________________________________
发件人: Benjamin Staneck <notifications@github.com>
发送时间: Friday, October 11, 2019 3:20:47 AM
收件人: zeit/hyper <hyper@noreply.github.com>
抄送: ivan <ivanwonder@outlook.com>; Mention <mention@noreply.github.com>
主题: Re: [zeit/hyper] Update Electron to v6 (#3785)
Merged #3785<#3785> into canary.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#3785>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADYVH3HDG7BZ536CNNESUYTQN56A7ANCNFSM4IJZQPHQ>.
|
Update to Electron 6.0.0.
Update packages:
electron
electron-builder
electron-rebuild
Update the
nodeIntegration
default which was changed in Electron 5.0.0.Add missing
plist
package required from updating the packages