Closed cabiste-dev closed 8 months ago
Also please merge https://github.com/AppImageCrafters/appimage-builder/pull/316 asap
I'm kinda new to python, so can someone explain to me why the path concatination is done like this?
self.default_runtime_path = self.appdir_path / "runtime" / "default"
self.compat_runtime_path = self.appdir_path / "runtime" / "compat"
instead of using os.path.join()
or converting self.appdir_path
to a string then concatenating it with +
?
Currently this tool only searches for the AppDir in the current working directory (unless
--appdir
is used) and completely ignores the path defined in the recipe file.This PR fixes that.
The hirearchy of importance is:
--appdir
(if used)recipe.AppDir.path
(if found)AppDir
in the current working directory