Fixed deletion of startmenu folder on uninstall + code indent

This commit is contained in:
Mark Morschhäuser 2014-03-12 10:04:31 +01:00
parent e2615a0ff0
commit da59b51c5e

View file

@ -34,6 +34,7 @@ InstallDir "$PROGRAMFILES\Cockatrice"
!insertmacro MUI_LANGUAGE "English"
Section "Application" SecApplication
SetShellVarContext all
SetOutPath "$INSTDIR"
File ..\build\cockatrice\Release\cockatrice.exe
File ..\build\oracle\Release\oracle.exe
@ -93,6 +94,7 @@ Section "Start menu item" SecStartMenu
SectionEnd
Section Uninstall
SetShellVarContext all
RMDir /r "$INSTDIR\zonebg"
RMDir /r "$INSTDIR\plugins"
RMDir /r "$INSTDIR\sounds"