1
0
mirror of https://github.com/heebijeebi/WinTango-Patcher.git synced 2024-06-22 05:21:56 +02:00

Enhanced: Cleanup of old Patcher files

This commit is contained in:
heebijeebi
2016-12-24 14:53:20 +01:00
parent 4c1a24e0d1
commit 6ad7779aa3
3 changed files with 12 additions and 2 deletions

View File

@@ -377,12 +377,21 @@ Func _PreInstall()
EndFunc
Func _CleanupOld()
;since v16.01.07
FileDelete(@ScriptDir & "\images.dll")
FileDelete(@ScriptDir & "\Readme.pdf")
FileDelete($ToolsDir & "\OpaqueTaskbar*.*")
FileDelete($ToolsDir & "\UXThemePatchers.txt")
FileDelete($ToolsDir & "\UltraUXThemePatcher_*.exe")
FileDelete($ToolsDir & "\UXTheme_Multi-Patcher_*.exe")
;since v16.12.24
FileDelete(@ScriptDir & "\Themes\files-desktops-*.7z")
FileDelete(@ScriptDir & "\Themes\files-notepad2-*.7z")
FileDelete(@ScriptDir & "\Themes\images-*.7z")
FileDelete(@ScriptDir & "\Themes\theme-*.7z")
FileDelete(@ScriptDir & "\Themes\icons-*.7z")
FileDelete(@ScriptDir & "\Themes\bitmaps-*.7z")
EndFunc
Func Patch()