electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with โ€œauto updateโ€ support out of the box
https://www.electron.build
MIT License
13.46k stars 1.71k forks source link

Publish to flathub support #7154

Open soredake opened 1 year ago

soredake commented 1 year ago

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

mmaietta commented 1 year ago

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

github-actions[bot] commented 1 year ago

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.

soredake commented 1 year ago

Not stale.

mmaietta commented 11 months ago

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

Nantris commented 11 months ago

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

mmaietta commented 11 months ago

Seems reasonable @Slapbox ๐Ÿ™‚

Wanna build it? ๐Ÿ˜‰

Nantris commented 11 months ago

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.

github-actions[bot] commented 6 months ago

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.

Nantris commented 6 months ago

Bump.

github-actions[bot] commented 4 months ago

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.

soredake commented 4 months ago

Not stale.

mmaietta commented 4 months ago

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?

Nantris commented 4 months ago

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

mmaietta commented 4 months ago

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

github-actions[bot] commented 2 months ago

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.

Nantris commented 2 months ago

Not stale but not under development by anyone currently.

jrivard commented 1 month ago

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