mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-16 05:01:37 +03:00
Remove qBittorrent Start Menu folder when uninstalling. Partially fixes #291.
This commit is contained in:
parent
186bbd7fc3
commit
2fbc979136
1 changed files with 3 additions and 4 deletions
|
@ -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…
Reference in a new issue