Improve windows packager to include version in setup exe

This commit is contained in:
Federico Terzi 2019-09-18 10:35:59 +02:00
parent 78451d122a
commit 15349410b4

View File

@ -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"))