From 1aeec138cf2fc3c6cd40798145a077556010c75a Mon Sep 17 00:00:00 2001 From: Kelson Date: Wed, 18 Dec 2024 06:00:33 +0100 Subject: [PATCH] Update common.py Properly .zip appending to filename --- .github/scripts/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/common.py b/.github/scripts/common.py index 8b931ff..341aaf1 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 = Path(str(working_dir) + ".zip") + build_path = working_dir.with_suffix(working_dir.suffix + ".zip") app_name = build_path.name command = [ "python",