Skip to content

Commit

Permalink
Win-Installer: Remove removal of directories which don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
segrax committed Dec 13, 2018
1 parent e5d0fea commit a794aef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Projects/WinInstaller/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,7 @@ Section "Uninstall"
Delete "$INSTDIR\Readme.md"
Delete "$INSTDIR\SDL2.dll"
Delete "$INSTDIR\SDL2_mixer.dll"
Delete "$INSTDIR\data\*"
Delete "$INSTDIR\data\castles\*"

RMDir "$INSTDIR\data\castles"
RMDir "$INSTDIR\data"
RMDir "$INSTDIR"

IfFileExists $INSTDIR 0 no
Expand Down

0 comments on commit a794aef

Please sign in to comment.