Fixed deletion of startmenu folder on uninstall + code indent
This commit is contained in:
parent
e2615a0ff0
commit
da59b51c5e
1 changed files with 23 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue