altair
altair copied to clipboard
[Wishlist]: Add Flatpak as alternative to Snaps for Linux
Just adding a wishlist issue here for Flatpak packaging for Linux distribution. If it garners enough thumbs up from others maybe it can also be supported?
👋🏾Thanks for opening your first issue here! Be sure to follow the issue template! ✌🏾
Hey @polarathene,
I am not aware of any standard way of deploying flatpak packages from CI (but there is a travis snap provider for publishing snaps). If you can show a way to publish electron builds as flatpak through a CI job, then I would be more than happy to make your wish come true. 😊
Yeah I understand. I have setup my own electron app with CI since and supporting snap is no problem, but flatpak wasn't supported by electron-builder.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
would love to help revisit this now that electron-builder
supports flatpak!
shall I open a new ticket?
Reopened the issue! 🙂
awesome ty! #1966 would be an open duplicate of this ticket, it would seem
looking into it further, generating a .flatpak
build will be possible with electron-builder
and flatpak-builder
, however publishing to flathub
or other repositories might be a bit trickier. it appears it requires pushing to a standalone configuration git repository in the flathub
org that contains some of the manifests. the submission guidelines to get set up appear to be relatively involved.
the other electron-builder
publishing modules appear to interface with both HTTP apis and CLIs programmatically, however none of them involve working with an external git repository. The current electron builder support for flatpak bundles the manifests & such to a single file, so publishing to flathub is currently ruled out which requires seperate files for manifest/etc in a repository.
Did some browsing around. It seems the packaging/publishing experience for flatpak files is not great. However like you mentioned, building the .flatpak
build files should be possible.
I would have expected that the publishing pipeline would have some support for github releases or maybe even using a github repository as the flatpak repository, but that doesn't seem to be possible.