AppImageCrafters / appimage-builder

GNU/Linux packaging solution using the AppImage format
MIT License
308 stars 58 forks source link

[Fix] Read 'AppDir' path from recipe file. (v2) #329

Closed cabiste-dev closed 7 months ago

cabiste-dev commented 11 months ago

Currently when building an image this tool only looks for the AppDir in the current working directory (unless --appdir is used) and completely ignores the path defined in the recipe file. And when generating a recipe it only looks for the AppDir in the current directory ignoring --appdir argument.

This PR fixes that.

The hirearchy of importance is:

  1. recipe.AppDir.path() (if defined and found)
  2. --appdir argument (if used)
  3. defaults to searching for AppDir in the current working directory

we don't talk about https://github.com/AppImageCrafters/appimage-builder/pull/326