From 3dff3a866479ff24b0d8c218fd04a06585d2b850 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Tue, 14 Feb 2023 11:12:33 +0100 Subject: [PATCH] Fixes #2682 * allow windows installer to remove same version * add revisionNumber to installer version --- .github/workflows/win-exe.yml | 2 +- dist/win/build.ps1 | 2 +- dist/win/resources/main.wxs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index e8709ac89..61841a0d8 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -156,7 +156,7 @@ jobs: --name Cryptomator --vendor "Skymatic GmbH" --copyright "(C) 2016 - 2023 Skymatic GmbH" - --app-version "${{ needs.get-version.outputs.semVerNum }}" + --app-version "${{ needs.get-version.outputs.semVerNum }}.${{ needs.get-version.outputs.revNum}}" --win-menu --win-dir-chooser --win-shortcut-prompt diff --git a/dist/win/build.ps1 b/dist/win/build.ps1 index 9973f5c12..d842423a1 100644 --- a/dist/win/build.ps1 +++ b/dist/win/build.ps1 @@ -129,7 +129,7 @@ $Env:JP_WIXWIZARD_RESOURCES = "$buildDir\resources" --name $AppName ` --vendor $Vendor ` --copyright $copyright ` - --app-version "$semVerNo" ` + --app-version "$semVerNo.$revisionNo" ` --win-menu ` --win-dir-chooser ` --win-shortcut-prompt ` diff --git a/dist/win/resources/main.wxs b/dist/win/resources/main.wxs index a9ca9d9c4..50edd6371 100644 --- a/dist/win/resources/main.wxs +++ b/dist/win/resources/main.wxs @@ -54,7 +54,7 @@ Property="JP_UPGRADABLE_FOUND" Maximum="$(var.JpAppVersion)" MigrateFeatures="yes" - IncludeMaximum="$(var.JpUpgradeVersionOnlyDetectUpgrade)" /> + IncludeMaximum="yes" />