diff --git a/loaih/build.py b/loaih/build.py index a7a2a04..279c3c6 100644 --- a/loaih/build.py +++ b/loaih/build.py @@ -357,7 +357,7 @@ class Build(loaih.RemoteBuild): subprocess.run(shlex.split(f"cp -f {file} {self.full_path}")) - def generalize_and_link(self, chdir = self.full_path): + def generalize_and_link(self, chdir = 'default'): """Creates the needed generalized files if needed.""" # If called with a pointed version, no generalize and link necessary. if not self.branch_version: @@ -367,6 +367,9 @@ class Build(loaih.RemoteBuild): if self.query == 'daily' or self.query == 'prerelease': return + if chdir == 'default': + chdir = self.full_path + appimagefilename = {} zsyncfilename = {}