rime / weasel

【小狼毫】Rime for Windows
https://rime.im
GNU General Public License v3.0
4.17k stars 528 forks source link

installer: uninstall key add `DisplayIcon` #1311

Closed 3gf8jv4dv closed 4 weeks ago

3gf8jv4dv commented 1 month ago

Display the software’s own icon in the uninstall entry in Control Panel\Programs\Programs and Features instead of the boring system icon.

fxliang commented 1 month ago
WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${WEASEL_VERSION}.${WEASEL_BUILD}"

主要修改是增加了这个,是吗?

3gf8jv4dv commented 4 weeks ago
WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${WEASEL_VERSION}.${WEASEL_BUILD}"

主要修改是增加了这个,是吗?

No. Added is DisplayIcon. This key did not exist before.

WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayIcon" '"$INSTDIR\WeaselServer.exe"'

There were two consecutive half-width spaces in the middle of several other lines, which I changed to one. Like this:

- WriteRegStr HKLM "${REG_UNINST_KEY}"  "Publisher" "式恕堂"
+ WriteRegStr HKLM "${REG_UNINST_KEY}" "Publisher" "式恕堂"