Skip to content
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

AppImage package support #68

Merged
merged 4 commits into from
Jun 5, 2022
Merged

AppImage package support #68

merged 4 commits into from
Jun 5, 2022

Conversation

KRTirtho
Copy link
Contributor

@KRTirtho KRTirtho commented Apr 23, 2022

Requirements:

  • works only in Debian/Ubuntu based Linux OS
  • appimage-builder should be installed on the system & available in the PATH
  • configuration file inside project's linux/packaging/appimage/make_config.yaml directory

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

added new maker to flutter_app_packager
updated example to show AppImage package format usage
nullable fields not secured in MakeAppImageConfig.fromJson fix
@KRTirtho
Copy link
Contributor Author

@lijy91 Changes made according to your suggestions

@lijy91 lijy91 mentioned this pull request Apr 23, 2022
@lijy91 lijy91 merged commit 892c54e into leanflutter:main Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants