From c7a0d8c13bf654eeff70b8eff3d6e9ae3146fed3 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Thu, 31 Oct 2024 16:43:34 +0100 Subject: [PATCH] ZIP only the content of the directory --- scripts/package_kiwix-desktop_windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package_kiwix-desktop_windows.py b/scripts/package_kiwix-desktop_windows.py index 3da393b..0fa43a5 100755 --- a/scripts/package_kiwix-desktop_windows.py +++ b/scripts/package_kiwix-desktop_windows.py @@ -73,5 +73,5 @@ print( - With {out_dir.name}""" ) shutil.make_archive( - archive_path.with_suffix(""), "zip", root_dir=out_dir.parent, base_dir=out_dir.name + archive_path.with_suffix(""), "zip", root_dir=out_dir, base_dir="" )