ingrid_core icon indicating copy to clipboard operation
ingrid_core copied to clipboard

Flatpak build?

Open reesericci opened this issue 1 year ago • 5 comments
trafficstars

When downloading for Linux, only a .deb is available which doesn't work across all variants of Linux, unlike Flatpak which is much more widely supported. https://flatpak.org/

reesericci avatar Dec 27 '23 07:12 reesericci

Hello. I agree with this proposal if it adjusts to the developer's preferences and possibilities. In my case, I tend to prefer the Appimage format because it is even more distro-agnostic and can be portable.

Regards.

adrianlopezgalera avatar Dec 27 '23 17:12 adrianlopezgalera

Hi! If it helps, there's also an RPM build available at https://releases.ingrid.cx/download/rpm. I just spent a while trying to get Flatpak working and ran into some problems with the tooling—it seems like there's a lot of machinery needed to make Electron work with Flatpak's sandboxing, and right now it's broken in ways that I can't spend time debugging, so I'm going to have to come back to it later. It's possible that I might end up doing AppImage instead, but that has its own challenges since it's not directly supported by Electron Forge.

rf- avatar Dec 31 '23 21:12 rf-

Snap is also a possibility btw, I didn't look into it in depth since neither of you asked and it seemed less widely-supported than Flatpak, but it might be more straightforward than AppImage. If that would be helpful lmk and I can take another look soonish.

rf- avatar Dec 31 '23 21:12 rf-

Snap is pretty much only well supported on Ubuntu at this point and Flatpak has pretty much won out from what I can tell. AppImages are not a great user experience because they can't be "installed" like regular apps without having the proper tooling installed by the user, whereas Flatpak is integrated right into app stores.

Maybe you could provide just a standard tar.gz in the interim?

reesericci avatar Jan 07 '24 05:01 reesericci

I just added RPM and tar.gz builds to the home page, please let me know if you run into any issues with those! I'd still like to come back and do some kind of AppImage/Snap/Flatpak thing at some point, but last time I tried I ran into some pretty annoying issues with sandboxing and/or the tooling I was using.

rf- avatar May 06 '24 01:05 rf-