diff options
author | DjLegolas <djlegolas@protonmail.com> | 2022-11-01 22:24:27 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2023-02-24 14:16:01 +0100 |
commit | 98c583001362ffc6dcd95649185dc1f99e33bf5d (patch) | |
tree | e5518d2dd725d5caf8bbcb16a2719a4391135105 | |
parent | [Label] fix torrent deletion not removes from config (diff) | |
download | deluge-98c583001362ffc6dcd95649185dc1f99e33bf5d.tar.xz 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.nsi | 1 |
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 |