leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
812 stars 114 forks source link

AppImage Build process is failing #103

Closed aandrew-me closed 1 year ago

aandrew-me commented 1 year ago

The appimage build process fails on a Linux Distro which is not Debian based (a.k.a it doesn't use apt as package manager). I noticed that the build script is trying to do something with apt-get.

In this case it would be good if you specify in the docs that a debian based Linux distro is needed to build appimages.

KRTirtho commented 1 year ago

Currently according to appimage-builder Docs (which is used under the hood) AppImages can only be built in Debian, Ubuntu and Arch based distros. So if you're on anything other than that you're out of luck although you can always use podman/docker containers

Also, there're some appimage-builder installation instructions in the flutter_distributor docs but I'd recommend you to follow the Official Docs of AppImage Builder to install proper dependencies required for it

aandrew-me commented 1 year ago

Currently according to appimage-builder Docs (which is used under the hood) AppImages can only be built in Debian, Ubuntu and Arch based distros. So if you're on anything other than that you're out of luck although you can always use podman/docker containers

Also, there're some appimage-builder installation instructions in the flutter_distributor docs but I'd recommend you to follow the Official Docs of AppImage Builder to install proper dependencies required for it

Hello Tirtho, I appreciate your reply. I am on an Arch based distro and have installed the required dependencies. Still the build is failing with flutter_distributor. And I can see that its failing because its trying to use apt.

But no problem, I can use appimage-builder instead as it works fine. It would just be better if devs specify that appimage build with flutter_distributor will only work on debian based distros.