From 8621ed2923c517c394b623b27226de1e69a2610f Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <158490944+3gf8jv4dv@users.noreply.github.com> Date: Sat, 15 Jun 2024 10:10:41 +0000 Subject: [PATCH] installer: uninstall key add `DisplayIcon`, display the weasel icon in the system uninstall entry (#1311) --- output/install.nsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/output/install.nsi b/output/install.nsi index 8679e2792..802fbfa85 100644 --- a/output/install.nsi +++ b/output/install.nsi @@ -293,11 +293,12 @@ program_files: ; Write the uninstall keys for Windows WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayName" "$(DISPLAYNAME)" + WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayIcon" '"$INSTDIR\WeaselServer.exe"' + WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${WEASEL_VERSION}.${WEASEL_BUILD}" WriteRegStr HKLM "${REG_UNINST_KEY}" "UninstallString" '"$INSTDIR\uninstall.exe"' - WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${WEASEL_VERSION}.${WEASEL_BUILD}" - WriteRegStr HKLM "${REG_UNINST_KEY}" "Publisher" "式恕堂" - WriteRegStr HKLM "${REG_UNINST_KEY}" "URLInfoAbout" "https://rime.im/" - WriteRegStr HKLM "${REG_UNINST_KEY}" "HelpLink" "https://rime.im/docs/" + WriteRegStr HKLM "${REG_UNINST_KEY}" "Publisher" "式恕堂" + WriteRegStr HKLM "${REG_UNINST_KEY}" "URLInfoAbout" "https://rime.im/" + WriteRegStr HKLM "${REG_UNINST_KEY}" "HelpLink" "https://rime.im/docs/" WriteRegDWORD HKLM "${REG_UNINST_KEY}" "NoModify" 1 WriteRegDWORD HKLM "${REG_UNINST_KEY}" "NoRepair" 1 WriteUninstaller "$INSTDIR\uninstall.exe"