Fix kiwix-desktop archive name on Windows

This commit is contained in:
Matthieu Gautier 2024-08-30 09:41:45 +02:00
parent 5f65164e1a
commit 8401ee5ea3
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ def create_desktop_image(make_release):
app_name = "org.kiwix.desktop.{}.flatpak".format(postfix)
print_message("archive is {}", build_path)
elif platform.system() == "Windows":
archive_basename = "Kiwix-{}-win-amd64".format(postfix)
archive_basename = "kiwix-desktop_windows_x64_{}".format(postfix)
working_dir = INSTALL_DIR / archive_basename
build_path = working_dir.with_suffix(".zip")
app_name = build_path.name