electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Publish to flathub support

Open soredake opened this issue 1 year ago • 17 comments

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

soredake avatar Sep 23 '22 17:09 soredake

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

mmaietta avatar Oct 19 '22 18:10 mmaietta

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.

github-actions[bot] avatar Jun 15 '23 01:06 github-actions[bot]

Not stale.

soredake avatar Jun 15 '23 05:06 soredake

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

mmaietta avatar Jul 24 '23 17:07 mmaietta

I'd love to see support for this. Might it be better to re-open with a "Help Wanted" tag instead?

Nantris avatar Aug 02 '23 20:08 Nantris

Seems reasonable @Slapbox 🙂

Wanna build it? 😉

mmaietta avatar Aug 02 '23 21:08 mmaietta

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.

Nantris avatar Aug 02 '23 22:08 Nantris

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.

github-actions[bot] avatar Dec 21 '23 00:12 github-actions[bot]

Bump.

Nantris avatar Dec 21 '23 00:12 Nantris

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.

github-actions[bot] avatar Feb 20 '24 00:02 github-actions[bot]

Not stale.

soredake avatar Feb 20 '24 05:02 soredake

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?

mmaietta avatar Feb 20 '24 16:02 mmaietta

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

Nantris avatar Feb 20 '24 20:02 Nantris

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

mmaietta avatar Feb 21 '24 02:02 mmaietta

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.

github-actions[bot] avatar Apr 28 '24 00:04 github-actions[bot]

Not stale but not under development by anyone currently.

Nantris avatar Apr 30 '24 20:04 Nantris

Definitely needed. An unofficial flatpak for a security focused app seems like a really bad idea.

jrivard avatar May 18 '24 01:05 jrivard