-
Notifications
You must be signed in to change notification settings - Fork 344
Flatpak app #341
Comments
@tim77 I don't believe we were aware of Flatpack so thank you for sharing. For our electron applications, we use electron-builder which has the option of creating AppImages which ultimately satisfy the requirements of being able to run on all major Linux distributions. ElectronBuilder also allows us to create packages for Mac and Windows as well. I'm not sure theres a need to have another type of packaging in the form of Flatpak. |
Hi @tim77
Like Vince mentioned, Appimage is probably good enough from that PoV - it's not completely distro agnostic - there can be issues e.g. if build on a very recent distro and then run on an older one. Would flatpak be better, as far as you know? e.g. would it be possible to build on Ubuntu 18.04 and then run on Red Hat 7? |
Flatpak much more portable and guaranty to work on old and new distros. Also your app will be available out of box in modern GUI package managers like GNOME Software and KDE Discover. This is attractive for users and help to discover your app. I'll add more details about this soon. |
I found the following comparison resource for reference (might be biased since it comes from an appimage repo): |
In terms of ABI portability - yes, since flatpak app is completely isolated from host, it's kinda more like Docker than AppImage. |
There is some interesting and informative talks here. Hope you find this interesting. |
Thank you for the information! |
Yes, Electron apps runs even on Ubuntu 14.04 (a very older OS than thay Flatpak supports) |
Only if user has added support for Flatpak and repository that application was published |
Uh, this goes against with what says official AppImages docs and this not even joke, as already said. 😄 @vince-fugnitto i'll ping @gasinvein since it wrote already working manifest, thank you. Also, linking with OBS issue was really bad idea, sorry. I forgot that this will be visible on linked issue and all what i wanted is to share some GeorgesStavracas points and information. Please lock this thread since there productive and useful conversation not possible anymore because of this. |
@tim77 Just open the link, they explain the reason for building on older distros 😉 And Electron has tingly difference of traditional C or C++, since they was builded on top of Ubuntu 12.04 any distro with glibc 2.12 will run electron apps. Yesterday, i was tested with TinyCore and worked fine (app created on Arch Linux up to date), flatpak will be good for supporting Alpine Linux and other libmusl based distros |
Thanks @tim77 - interesting read. No worries about linking. I think we'd like to have an example of using Generally, in this context of this repo here, we have the luxury of not having to pick and choose. Any given ATM our |
The request for support Flatpak in Electron Builder exist for a long time but seems like stalled. Just look how it could look handy from user perspective when they have central place for Apps which is safe to use and easy to install/update. |
I'm curious to know why electron-builder has not supported flatpak yet, perhaps it does not see the value in supporting yet another type of packaging?
I guess it's the same outcome of doing something like #280 and publishing to the official Electron marketplace? |
Sure. Let's see which one gets contributed here first 🥇 :) |
@gasinvein updated Theia app in his hub, i asked him send a pull but we cannot find agreement there yet. He said that we should properly made fully automated CI build but this is not even possible at this stage since Theia is a new app and doesn't have fixed releases. Modules using
Yes, but with one remark: Flatpak mean you packaged your app for Linux users, Snap mean you packaged it for Ubuntu. There is some article about adoption, it may look outdated, but nothing really changed since then. Devs wanted to drop completely Snap support in GNOME Software but postponed this change. |
For most apps we have under CI in this repo, we have both a |
just my 2 cent: as long as there's no appimage repository hub which is recognized within the community, from which i can pull update, i would prefer flatpak, where i can pull updates from the developers or from flathub or sth like that. appimages on my system tend to never get updated. |
Have you considered make universal package which will run on all major distributions? There already some initial work done (thanks to @gasinvein) and it compiles and works.
The text was updated successfully, but these errors were encountered: