diff --git a/.github/scripts/common.py b/.github/scripts/common.py index baa40c52..8b931ffb 100644 --- a/.github/scripts/common.py +++ b/.github/scripts/common.py @@ -544,7 +544,7 @@ def create_desktop_image(make_release): elif platform.system() == "Windows": archive_basename = "kiwix-desktop_windows_x64_{}".format(postfix) working_dir = INSTALL_DIR / archive_basename - build_path = working_dir + ".zip" + build_path = Path(str(working_dir) + ".zip") app_name = build_path.name command = [ "python", diff --git a/kiwixbuild/dependencies/base.py b/kiwixbuild/dependencies/base.py index 45d0422a..29f20814 100644 --- a/kiwixbuild/dependencies/base.py +++ b/kiwixbuild/dependencies/base.py @@ -524,8 +524,8 @@ def _make_dist(self, context): *neutralEnv("git_command"), "archive", "-o", - f"{self.build_path}/{self.target_full_name()}.tar.gz", - f"--prefix={self.target_full_name()}/", + f"{self.build_path}/{self.target.full_name()}.tar.gz", + f"--prefix={self.target.full_name()}/", "HEAD", ] run_command(command, self.source_path, context)