-
-
Notifications
You must be signed in to change notification settings - Fork 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
Desktop: Use the strongly recommended asar packing on linux and macOS #2531
Conversation
Desktop: Use the strongly recommended asar packing on linux
Does it build? |
Of course it builds and works fine on my machine. The CI seems to be not functioning and stuck on the same error for different PR. |
It used to not work. Since you didn't exclude any of the native modules, did you test that they work? Did you run |
I have tried both yarn dist to generate AppImage and electron-builder on latest Arch Linux, no issue either way. With my half a day of usage, it suggest no error on debug mode. I don't see how I can offer extensive tests for diverse Linux distros. |
I also tested this with macOS (I had to set asar to true for mac) and it seems to work. |
Ok it's possible they fixed asar packing then. It's been "strongly recommended" for a while, even when it was obviously broken. How about resources like icons, fonts and CSS files? Is Katex and Mermaid rendering still working? |
Resources and all the themes looks fine. Katex works and I don't think Mermaid is in master branch. |
Yes, Katex and Mermaid work too. |
Thanks for checking all this @R-L-T-Y and @tessus, it looks like we can use asar then. Please @R-L-T-Y could you fix the conflict? Then we can merge. |
@laurent22 this PR only changes the asar flag for linux. |
Since macOS version has been tested and that should yield a more consistent result, I propose the change made on macOS as well. |
I've also added it to Windows then. I guess it should work too but I'll test later. Thanks for the PR @R-L-T-Y! |
No description provided.