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

@@ -1,4 +1,4 @@
[Updater]
MainApp=16.12.24
URL=http://www73.zippyshare.com/d/swSe3xxr/2685622/WinTango-Patcher-16.12.24-offline.exe
URL=http://www49.zippyshare.com/d/HRggBDjI/2515459/WinTango-Patcher-16.12.24-offline.exe
URL2=https://github.com/heebijeebi/WinTango-Patcher/releases/download/v16.12.24/WinTango-Patcher-16.12.24-offline.exe

View File

@@ -25,7 +25,7 @@ Func ExtractResources()
;use the above
ElseIf $SelectedTheme = "cheser" or $SelectedTheme = "gnome-brave" or $SelectedTheme = "elementary" Then
$sResFileLocal2 = @ScriptDir & '\Themes\res-' & $SelectedTheme & '.7z'
$sResFileLocal4 = @ScriptDir & '\Themes\res-' & $SelectedTheme & '.7z'
Else
;2nd base images
@@ -945,6 +945,7 @@ EndFunc
Func PostInstall()
;Cleanup
FileDelete($ToolsDir & "\ResHacker.ini")
DirRemove(@DesktopDir & "\Override", 1)

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()