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 package support #68

Closed KRTirtho closed 2 years ago

KRTirtho commented 2 years ago

Requirements:

Config file structure in linux/packaging/appimage/make_config.yaml with Examples

# application id with organization domain
appId: org.leanflutter.examples.hello_world

# relative path to icon
icon: assets/logo.png

# scripts that are run before `appimage-builder` starts to build the AppImage
script:
  - echo 'Running a Script before building'

# include direct/indirect `apt` dependencies
# if your package's dependencies are from other/unofficial/3rd-party PPA(s)/repository then add
# those repos/ppa before running the flutter distributor package
include:
  - libkeybinder-3.0

# exclude certain non-required indirect dependencies that might overweight the bundle
exclude: []

# some dependencies are available in every system & bundling them into the
# AppImage only make the bundle beefy thus some of them are excluded by default.
# It can be turned on/off with following field
# @default - true
default_excludes: true

files:
  # include extra files & folders
  include:
    - ./example.png

  # exclude files & folders
  exclude: []
  # to whether exclude opinionated non-required files by default or not  
  # @default - true
  default_excludes: true
KRTirtho commented 2 years ago

@lijy91 Changes made according to your suggestions