-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AppImage option to build and release a Flutter Linux app #7639
Comments
This, but for Flatpak too! |
I would not mind releasing flatpak. anything is easier than snapcraft. I made a deb very easily too. Anything is easier than snapcraft. But AppImage is the new thing. Just like anything that competes with flutter is dead, snap and flatpak are dead compared to AppImage. in fact.. a new article was released today. Here: https://www.omgubuntu.co.uk/2022/10/appimagelauncher-install-on-ubuntu |
Don't get me wrong, I support documentation for both AppImages and Flatpaks. I'm not sure where you get the idea that AppImage is the "new thing" and everything else is dead. AppImage was released in 2004, Flatpak in 2015. And unlike AppImage, Flatpaks deal with security issues (with sandboxing being a core feature) as well as size optimization (through the use of shared runtimes). And Flatpaks are the preferred way of releasing apps on a number of popular distros, such as Fedora, SteamOS, and Pop!_OS. |
Right now there is successful documentation for building Appimages with
flutter.
Let's push for that to be on the official website.
If you find any flatpak documentation for flutter. Make a new and separate
issue. The more the merrier.
Bhante Subhuti
|
Created one just today: #7641 :) |
@jacob314 : Do we want to support creating AppImages? |
What information is missing?
The only information about building a linux desktop app for public consumption is a snap.
My old app was an electron app. It was easy to build with electron-builder.
snapcraft for flutter is a different story:
Most people hate snaps and if you ever try to build a snap with snapcraft, you will hate them more.
The "just type snapcraft" is very misleading.
I tried building a snap several times and found out that it required 12 gb of space and also 3 or 4 gb of downloads.
If you have a slow connection it can take 45 minutes to 1 hour.
It makes a whole new ubuntu in order just to build a snap, and then after all of that it failed.
The Snapcraft discourse has little or no official support to help.
I spent many hours trying to make this work and could not.
How would you like us to fix this problem?
I came across this article after wasting lots of time on snaps
https://odilondamasceno.medium.com/creating-appimage-with-flutter-d19ef8b53158
In the article says the same thing: You thought you hated snaps until you started building one. Then you hated snaps even more.
There is a small change in the article needed (directory structure), but all else works fine.
It can be distributed on AppImage Hub
AppImages are the new thing.
AppImages are easy to build.
AppImages work on other Linux distributions and not just Ubuntu.
You need a page for:
Build and Release a Linux AppImage
After this experience and success with AppImage, I have decided not to release snaps.
I had snaps for the old app that this replaces and there are 36 apps installed.
I'm willing to bet that 95% of the users would prefer an AppImage.
The text was updated successfully, but these errors were encountered: