Le 05/11/2018 à 13:07, Tom Hale a écrit :
> I've noticed that there are no Electron packaging guidelines at:
> https://wiki.archlinux.org/index.php/Arch_package_guidelines
>
> What are the best-of-breed PKGBUILDs out there for Electron apps?

Most important point is using system electron.

Some packages examples: 

https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/atom
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/cozy-desktop
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/riot

I think the best one is the first, because it goes further in removing
useless things (e.g. dev node modules). But of course what there is to
do depends on the actual package.

Also note that it’s quite hard to do that for binary electron app like
Slack. I’ve tried a bit to use system electron with it, but to no avail
(crashed on start everytime).

Regards,
Bruno


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to