electron-builder
electron-builder copied to clipboard
Publish to flathub support
It would be nice if there is support for publishing electron apps to flathub.
Related: https://discourse.flathub.org/t/seeking-contractors-for-work-on-flathub-project/1889 https://github.com/electron-userland/electron-builder/issues/512 https://twitter.com/ramcq/status/1462837235166990341 https://github.com/electron-userland/electron-builder/blob/master/docs/configuration/flatpak.md
I have no plans in particular for adding Flathub support.
But I'd be happy to guide you in how to create a Publisher/Provider for Flathub, you'd need to tackle the API portion and integration testing. I built the integrations with Keygen and Bitbucket that you can use for reference/examples
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Not stale.
I'd be happy to guide you in how to create a Publisher/Provider for Flathub, you'd need to tackle the API portion and integration testing.
Closing as Not Planned. Feel free to begin working on a publisher for it and I'll reopen
I'd love to see support for this. Might it be better to re-open with a "Help Wanted" tag instead?
Seems reasonable @Slapbox 🙂
Wanna build it? 😉
I want to build too many things for my own good. 😅
I'll have to pass for now but happy to help if someone takes the lead on this in the future.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Bump.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Not stale.
Happy to explore this option now, but fairly low priority comparative to some other issues I'm looking into. It seems a test project needs to be added to the registry via Github PR https://docs.flathub.org/docs/for-app-authors/submission/#how-to-submit-an-app. Not sure if they'll accept a test app though.
Would this also be including an electron-builder auto-updater ("Provider") functionality?
My (rather naive) understanding is that Flatpaks have their own update system so I don't think the auto-updater would need to be active for Flatpak builds.
I came across this forum post about Flathub having a repo for beta builds, and while not quite what would be necessary in this case, it might at least be more acceptable or appropriate: https://discourse.flathub.org/t/how-to-use-flathub-beta/2111
Hmmmm, I'll need to look into that. If looking to do a custom publisher on your own (that maybe you could submit as a PR? 😁 ), here's a tutorial on writing your own publisher script https://github.com/electron-userland/electron-builder/issues/8049#issuecomment-1955741412
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Not stale but not under development by anyone currently.
Definitely needed. An unofficial flatpak for a security focused app seems like a really bad idea.