Browse Source

Remove qBittorrent Start Menu folder when uninstalling. Partially fixes #291.

adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
2fbc979136
  1. 7
      src/windows/qbittorrent.nsi

7
src/windows/qbittorrent.nsi

@ -279,16 +279,15 @@ Section "un.Remove files" @@ -279,16 +279,15 @@ Section "un.Remove files"
Delete "$INSTDIR\translations\qt_zh_TW.qm"
Delete "$INSTDIR\uninst.exe"
; Remove directories used
RMDir "$SMPROGRAMS\qBittorrent"
RMDir "$INSTDIR\translations"
; Remove directories used
RMDir /r "$INSTDIR\translations"
RMDir "$INSTDIR"
SectionEnd
Section "un.Remove shortcuts"
SectionIn RO
; Remove shortcuts, if any
Delete "$SMPROGRAMS\qBittorrent\*.*"
RMDir /r "$SMPROGRAMS\qBittorrent"
Delete "$DESKTOP\qBittorrent.lnk"
SectionEnd

Loading…
Cancel
Save