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:
@@ -1,4 +1,4 @@
|
|||||||
[Updater]
|
[Updater]
|
||||||
MainApp=16.12.24
|
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
|
URL2=https://github.com/heebijeebi/WinTango-Patcher/releases/download/v16.12.24/WinTango-Patcher-16.12.24-offline.exe
|
||||||
|
@@ -25,7 +25,7 @@ Func ExtractResources()
|
|||||||
;use the above
|
;use the above
|
||||||
|
|
||||||
ElseIf $SelectedTheme = "cheser" or $SelectedTheme = "gnome-brave" or $SelectedTheme = "elementary" Then
|
ElseIf $SelectedTheme = "cheser" or $SelectedTheme = "gnome-brave" or $SelectedTheme = "elementary" Then
|
||||||
$sResFileLocal2 = @ScriptDir & '\Themes\res-' & $SelectedTheme & '.7z'
|
$sResFileLocal4 = @ScriptDir & '\Themes\res-' & $SelectedTheme & '.7z'
|
||||||
|
|
||||||
Else
|
Else
|
||||||
;2nd base images
|
;2nd base images
|
||||||
@@ -945,6 +945,7 @@ EndFunc
|
|||||||
|
|
||||||
|
|
||||||
Func PostInstall()
|
Func PostInstall()
|
||||||
|
;Cleanup
|
||||||
FileDelete($ToolsDir & "\ResHacker.ini")
|
FileDelete($ToolsDir & "\ResHacker.ini")
|
||||||
DirRemove(@DesktopDir & "\Override", 1)
|
DirRemove(@DesktopDir & "\Override", 1)
|
||||||
|
|
||||||
|
@@ -377,12 +377,21 @@ Func _PreInstall()
|
|||||||
EndFunc
|
EndFunc
|
||||||
|
|
||||||
Func _CleanupOld()
|
Func _CleanupOld()
|
||||||
|
;since v16.01.07
|
||||||
FileDelete(@ScriptDir & "\images.dll")
|
FileDelete(@ScriptDir & "\images.dll")
|
||||||
FileDelete(@ScriptDir & "\Readme.pdf")
|
FileDelete(@ScriptDir & "\Readme.pdf")
|
||||||
FileDelete($ToolsDir & "\OpaqueTaskbar*.*")
|
FileDelete($ToolsDir & "\OpaqueTaskbar*.*")
|
||||||
FileDelete($ToolsDir & "\UXThemePatchers.txt")
|
FileDelete($ToolsDir & "\UXThemePatchers.txt")
|
||||||
FileDelete($ToolsDir & "\UltraUXThemePatcher_*.exe")
|
FileDelete($ToolsDir & "\UltraUXThemePatcher_*.exe")
|
||||||
FileDelete($ToolsDir & "\UXTheme_Multi-Patcher_*.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
|
EndFunc
|
||||||
|
|
||||||
Func Patch()
|
Func Patch()
|
||||||
|
Reference in New Issue
Block a user