Split removal of configuration files to 2 options.

This commit is contained in:
sledgehammer999
2013-01-27 20:09:12 +02:00
parent c6ba3b4ca3
commit f2f2dad402
2 changed files with 9 additions and 1 deletions

View File

@@ -69,11 +69,17 @@ Section "un.$(remove_firewall)" ;
SectionEnd
Section /o "un.$(remove_conf)" ;"un.Remove configuration files"
System::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_APPDATA}, i0)i.r0'
RMDir /r "$1\qBittorrent"
RMDir /r "$1\qBittorrent"
SectionEnd
Section /o "un.$(remove_cache)"
System::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_LOCALAPPDATA}, i0)i.r0'
RMDir /r "$1\qBittorrent\"
SectionEnd
;--------------------------------