On Sun, 2022-02-27 at 17:15 +0100, Andreas Schneider wrote: > On Sunday, 27 February 2022 10:06:17 CET Vitaly Zaitsev via devel > wrote: > > On 27/02/2022 08:23, Andreas Schneider wrote: > > > > > You don't have to. You can point electron builder to your system > > > electron > > > and > it will use that. Then you just do not package the electron files. > > > All you need is the resources directory. > > > > > > You must run electron-builder on Fedora Koji. Pre-built packages are > > not > > allowed. > > You should not package electron at all with your package! You should > use the > nodejs-electron in the distribution and just point it to the sources to > load OK, we may not need electron-builder :D, I also mention electron- builder more to explain how my element-desktop rpm was generated . so lets pack element-desktop , I found this https://build.opensuse.org/package/view_file/openSUSE:Factory/element-desktop/element-desktop.spec have we nodejs-electron available on copr ? if not, may I put it there or have we legal constraints ? Thanks. > : > > cat <<EOF >%{buildroot}%{_bindir}/signal-desktop > #!/bin/sh > export NODE_ENV=production > > exec %{_bindir}/electron %{_libdir}/%{name}/resources/app.asar "\$@" > EOF > chmod +x %{buildroot}%{_bindir}/signal-desktop > > > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure -- Sérgio M. B. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure