[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
This commit is contained in:
parent
8332d1aa39
commit
98c5830013
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue