locate
On Ubuntu/Debian based linux, run:
$ sudo apt install locate
AppImageTool
To install Appimage Builder, run:
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"chmod +x appimagetoolmv appimagetool /usr/local/bin/
Last command may require sudo privileges
sudo
Add make_config.yaml to your project linux/packaging/appimage directory.
make_config.yaml
linux/packaging/appimage
display_name: Hello World icon: assets/logo.png keywords: - Hello - World - Test - Application generic_name: Cool Application actions: - name: Say Hi label: say-hi arguments: - --say - hi - name: Say Bye label: say-bye arguments: - --say - bye categories: - Music startup_notify: true # You can specify the shared libraries that you want to bundle with your app## flutter_distributor automatically detects the shared libraries that your app# depends on, but you can also specify them manually here.## The following example shows how to bundle the libcurl library with your app.## include:# - libcurl.so.4include: [] # You can also specify [metainfo](https://freedesktop.org/software/appstream/docs/chap-Quickstart.html) file# which contains metadata of the app.# metainfo: linux/packaging/myappid.appdata.xml
Run:
flutter_distributor package --platform linux --targets appimage