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:
recipe.AppDir.path() (if defined and found)
--appdir argument (if used)
defaults to searching for AppDir in the current working directory
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:
recipe.AppDir.path()
(if defined and found)--appdir
argument (if used)AppDir
in the current working directorywe don't talk about https://github.com/AppImageCrafters/appimage-builder/pull/326