summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDjLegolas <djlegolas@protonmail.com>2022-11-01 23:24:27 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2023-02-24 13:16:01 +0000
commit98c583001362ffc6dcd95649185dc1f99e33bf5d (patch)
treee5518d2dd725d5caf8bbcb16a2719a4391135105
parent8332d1aa393c40feced5af2693755ede7420d020 (diff)
downloaddeluge-98c583001362ffc6dcd95649185dc1f99e33bf5d.tar.gz
deluge-98c583001362ffc6dcd95649185dc1f99e33bf5d.tar.bz2
deluge-98c583001362ffc6dcd95649185dc1f99e33bf5d.zip
[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
-rw-r--r--packaging/win/deluge-win-installer.nsi1
1 files changed, 1 insertions, 0 deletions
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