Pony-House / Client

The open source house, your house, the house for all matrix ponies
https://client.pony.house/
GNU Affero General Public License v3.0
21 stars 11 forks source link

Flatpak #423

Open sanfierro-pony opened 6 months ago

sanfierro-pony commented 6 months ago

Describe the problem

About having a flatpak package like cinny does. I'd like to see a flatpak package since, as opposed to snap, flatpak's backend https://github.com/flatpak/flat-manager is open source and used by distros other than fedora https://blog.elementary.io/elementary-appcenter-flatpak/

Describe the solution you'd like

A solution would be creating a flatpak package. I'd also like to hear any objections about or support for this idea. I think we can turn this issue into discussion, thank you, everyone!

Alternatives considered

No response

Additional context

No response

JasminDreasond commented 6 months ago

The electron build supports flatpak. You add the value into the electron-builder.json5 file.

linux: {
    icon: 'build/icon.png',
    target: ['AppImage', 'deb', 'flatpak'],
    ...
 }

But it seems like there are still things missing for everything to work 100% correctly. I've never worked with Flatpak, so for now I don't know what to do. This is not on my priority list for now, but any help in making this possible would be greatly appreciated.

More info: https://www.electron.build/configuration/linux

JasminDreasond commented 6 months ago

I found this page too: https://docs.flatpak.org/en/latest/electron.html Example: https://github.com/flathub/com.bitwarden.desktop

Source: https://www.reddit.com/r/flatpak/comments/wdec6b/publishing_electron_apps_to_flathub/ Other example: https://github.com/flathub/electron-sample-app/tree/master/flatpak

JasminDreasond commented 6 months ago

When I push all of today's commits. One of them will have the basic flatpak files. (Very simple progress really. Just to be an initiative for me to look better at this later when I have more free time, or if someone else wants to help)

ask-compu commented 3 months ago

When I push all of today's commits. One of them will have the basic flatpak files. (Very simple progress really. Just to be an initiative for me to look better at this later when I have more free time, or if someone else wants to help)

u will probably need to figure out what permissions pony house will need to function and have them included in the flatpak config