From 98c583001362ffc6dcd95649185dc1f99e33bf5d Mon Sep 17 00:00:00 2001 From: DjLegolas Date: Tue, 1 Nov 2022 23:24:27 +0200 Subject: [PATCH] [Packaging][Windows] Add DisplayVersion registry key This addition will help tools (e.g. `winget`) to identify the version of deluge Closes: https://dev.deluge-torrent.org/ticket/3560 Closes: https://github.com/deluge-torrent/deluge/pull/402 --- packaging/win/deluge-win-installer.nsi | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/win/deluge-win-installer.nsi b/packaging/win/deluge-win-installer.nsi index 333401509..ba67b9d83 100644 --- a/packaging/win/deluge-win-installer.nsi +++ b/packaging/win/deluge-win-installer.nsi @@ -187,6 +187,7 @@ LangString DESC_Section3 ${LANG_ENGLISH} "Select this option to let Deluge handl Section -Uninstaller WriteUninstaller ${PROGRAM_UNINST_FILENAME} WriteRegStr ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}" "DisplayName" "$(^Name)" + WriteRegStr ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}" "DisplayVersion" ${PROGRAM_VERSION} WriteRegStr ${PROGRAM_UNINST_ROOT_KEY} "${PROGRAM_UNINST_KEY}" "UninstallString" ${PROGRAM_UNINST_FILENAME} SectionEnd