Skip to content

Commit a794aef

Browse files
committed
Win-Installer: Remove removal of directories which don't exist
1 parent e5d0fea commit a794aef

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Projects/WinInstaller/installer.nsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,7 @@ Section "Uninstall"
186186
Delete "$INSTDIR\Readme.md"
187187
Delete "$INSTDIR\SDL2.dll"
188188
Delete "$INSTDIR\SDL2_mixer.dll"
189-
Delete "$INSTDIR\data\*"
190-
Delete "$INSTDIR\data\castles\*"
191189

192-
RMDir "$INSTDIR\data\castles"
193-
RMDir "$INSTDIR\data"
194190
RMDir "$INSTDIR"
195191

196192
IfFileExists $INSTDIR 0 no

0 commit comments

Comments
 (0)