From 15349410b4f5145a9716970fd595b8cb5029d1b6 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 18 Sep 2019 10:35:59 +0200 Subject: [PATCH] Improve windows packager to include version in setup exe --- packager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager.py b/packager.py index 31cc85f..d4a77b0 100644 --- a/packager.py +++ b/packager.py @@ -75,7 +75,7 @@ def build_windows(package_info): TARGET_DIR = os.path.join(PACKAGER_TARGET_DIR, "win") os.makedirs(TARGET_DIR, exist_ok=True) - INSTALLER_NAME = "espanso-setup" + INSTALLER_NAME = f"espanso-win-{package_info.version}" # Inno setup shutil.copy("packager/win/modpath.iss", os.path.join(TARGET_DIR, "modpath.iss"))