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

Icon updates

This commit is contained in:
heebijeebi
2016-12-08 10:11:41 +01:00
parent bf804e76bd
commit bad9335908
384 changed files with 151 additions and 532 deletions

View File

@@ -0,0 +1,151 @@
#cs ----------------------------------------------------------------------------
Build Resource Packages for the WinTango Patcher.
#ce ----------------------------------------------------------------------------
Global $TempDirMain = @ScriptDir & "\_tmp"
Global $OutDir = @ScriptDir & "\_ARCHIVES"
FileDelete($OutDir & "\*.7z")
DirRemove($TempDirMain, 1)
DirCreate($OutDir)
#Region Standards
;Scripts
$dirTemp = @ScriptDir & "\_tmp\Resources\scripts"
$dirSource = @ScriptDir & "\scripts"
$fileOut = "scripts.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Cursors
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\Windows\Cursors"
;Ubuntu
$dirSource = @ScriptDir & "\_Cursors\ubuntu"
$fileOut = "cursors-ubuntu.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;elementary
$dirSource = @ScriptDir & "\_Cursors\elementary"
$fileOut = "cursors-elementary.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Visual Style
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\Windows"
;Shiki-Colors
$dirSource = @ScriptDir & "\_VisualStyles\shiki-colors"
$fileOut = "visualstyle-shikicolors.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;elementaryOS
$dirSource = @ScriptDir & "\_VisualStyles\elementary"
$fileOut = "visualstyle-elementary.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Ubuntu
$dirSource = @ScriptDir & "\_VisualStyles\ubuntu"
$fileOut = "visualstyle-ubuntu.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Wallpapers
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\Windows\Wallpapers"
$dirSource = @ScriptDir & "\_Wallpapers"
$fileOut = "wallpapers.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
#EndRegion
#Region Files
;Files
$dirTemp = @ScriptDir & "\_tmp\Resources\files"
$dirSource = @ScriptDir & "\#THEME#\files"
$fileOut = "files-#THEME#.7z"
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tango")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tangerine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "cheser")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-brave")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-human")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-noble")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wise")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "elementary")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "humanity")
#EndRegion
#Region Resources
$dirTemp = @ScriptDir & "\_tmp\Resources"
$dirSource = @ScriptDir & "\#THEME#"
$fileOut = "res-#THEME#.7z"
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tango")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tangerine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "cheser")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-brave")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-human")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-noble")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wise")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "elementary")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "humanity")
#EndRegion
DirRemove($TempDirMain, 1)
TrayTip("Done!", "The Resource Packages were successfully created!", 5, 1)
Sleep(5000)
Func _RoutineStd($dirSource, $dirTemp, $sFileOut)
DirCreate($dirTemp)
DirCopy($dirSource, $dirTemp, 1)
_Compress($sFileOut)
DirRemove($TempDirMain, 1)
EndFunc
Func _RoutineByTheme($dirSource, $dirTemp, $sFileOut, $sTheme)
$dirSource = StringReplace($dirSource, "#THEME#", $sTheme)
$sFileOut = StringReplace($sFileOut, "#THEME#", $sTheme)
DirCreate($dirTemp)
DirCopy($dirSource, $dirTemp, 1)
;specials
If StringInStr($sFileOut, "res-") > 0 Then
DirRemove($dirTemp & "\_WIP", 1)
DirRemove($dirTemp & "\files", 1)
EndIf
;Compress & Cleanup
_Compress($sFileOut)
DirRemove($TempDirMain, 1)
EndFunc
Func _Compress($fileOut)
$7zip_exe = @ScriptDir & "\7z.exe"
$command = $7zip_exe & ' a -mx9 "' & $OutDir & '\' & $fileOut & '" "' & @ScriptDir & '\_tmp\Resources\*" -xr@exclude.txt'
;MsgBox(0,"",$command)
;RunWait(@ComSpec & ' /c ' & $command, "", @SW_HIDE)
RunWait($command, @ScriptDir ,@SW_HIDE)
EndFunc

View File

@@ -1,521 +0,0 @@
#cs ----------------------------------------------------------------------------
Build Resource Packages for the WinTango Patcher.
#ce ----------------------------------------------------------------------------
Global $TempDirMain = @ScriptDir & "\_tmp"
Global $OutDir = @ScriptDir & "\_ARCHIVES"
FileDelete($OutDir & "\*.7z")
DirRemove($TempDirMain, 1)
DirCreate($OutDir)
#Region Standards
;Scripts
$dirTemp = @ScriptDir & "\_tmp\Resources\scripts"
$dirSource = @ScriptDir & "\scripts"
$fileOut = "scripts.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Cursors
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\Windows\Cursors"
;Ubuntu
$dirSource = @ScriptDir & "\_Cursors\ubuntu"
$fileOut = "cursors-ubuntu.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;elementary
$dirSource = @ScriptDir & "\_Cursors\elementary"
$fileOut = "cursors-elementary.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Visual Style
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\Windows"
;Shiki-Colors
$dirSource = @ScriptDir & "\_VisualStyles\shiki-colors"
$fileOut = "visualstyle-shikicolors.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;elementaryOS
$dirSource = @ScriptDir & "\_VisualStyles\elementary"
$fileOut = "visualstyle-elementary.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Ubuntu
$dirSource = @ScriptDir & "\_VisualStyles\ubuntu"
$fileOut = "visualstyle-ubuntu.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
;Wallpapers
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\Windows\Wallpapers"
$dirSource = @ScriptDir & "\_Wallpapers"
$fileOut = "wallpapers.7z"
_RoutineStd($dirSource, $dirTemp, $fileOut)
#EndRegion
#Region Files
;Notepad2
$dirTemp = @ScriptDir & "\_tmp\Resources\files"
$dirSource = @ScriptDir & "\#THEME#\files"
$fileOut = "files-notepad2-#THEME#.7z"
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tango")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tangerine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "cheser")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-brave")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-human")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-noble")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wise")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "elementary")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "humanity")
;Desktops
$dirTemp = @ScriptDir & "\_tmp\Resources\files"
$dirSource = @ScriptDir & "\#THEME#\files"
$fileOut = "files-desktops-#THEME#.7z"
;_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tango")
;_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tangerine")
;_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome")
;_RoutineByTheme($dirSource, $dirTemp, $fileOut, "cheser")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-brave")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-human")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-noble")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wise")
;_RoutineByTheme($dirSource, $dirTemp, $fileOut, "elementary")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "humanity")
#EndRegion
;Images
_ActionImages("bitmaps")
_ActionImages("icons")
;Apps
_ActionApps() ;misc in one pak
DirRemove($TempDirMain, 1)
TrayTip("Done!", "The Resource Packages were successfully created!", 5, 1)
Sleep(5000)
Func _RoutineStd($dirSource, $dirTemp, $sFileOut)
DirCreate($dirTemp)
DirCopy($dirSource, $dirTemp, 1)
_Compress($sFileOut)
DirRemove($TempDirMain, 1)
EndFunc
Func _ActionImages($sType)
$dirTemp = @ScriptDir & "\_tmp\Resources\" & $sType
$dirSource = @ScriptDir & "\#THEME#\" & $sType
$fileOut = $sType & "-#THEME#.7z"
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tango")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "tangerine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "cheser")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-brave")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-human")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-noble")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wine")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "gnome-wise")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "elementary")
_RoutineByTheme($dirSource, $dirTemp, $fileOut, "humanity")
EndFunc
Func _RoutineByTheme($dirSource, $dirTemp, $sFileOut, $sTheme)
$dirSource = StringReplace($dirSource, "#THEME#", $sTheme)
$sFileOut = StringReplace($sFileOut, "#THEME#", $sTheme)
DirCreate($dirTemp)
DirCopy($dirSource, $dirTemp, 1)
;specials
If StringInStr($sFileOut, "notepad2") > 0 Then FileDelete($dirTemp & "\Desktops.exe")
If StringInStr($sFileOut, "desktops") > 0 Then FileDelete($dirTemp & "\Notepad2-*.exe")
If StringInStr($sFileOut, "bitmaps") > 0 Then
$dirTempShiki = @ScriptDir & "\_tmp\Resources\shiki"
If $sTheme = "humanity" Then
$dirSourceShiki = @ScriptDir & "\gnome-human\shiki"
ElseIf $sTheme = "tangerine" Then
$dirSourceShiki = @ScriptDir & "\gnome-human\shiki"
Else
$dirSourceShiki = @ScriptDir & "\" & $sTheme & "\shiki"
EndIf
DirCreate($dirTempShiki)
DirCopy(@ScriptDir & "\gnome-brave\shiki", $dirTempShiki, 1)
DirCopy($dirSourceShiki, $dirTempShiki, 1)
EndIf
;Compress & Cleanup
_Compress($sFileOut)
DirRemove($TempDirMain, 1)
EndFunc
Func _ActionApps()
$sTheme = "tango"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
_RoutineApps("office2010", $sTheme, 2, 1)
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
;_RoutineApps("firefox-thunderbird", $sTheme, 2, 1) ;not TANGO
_RoutineApps("thunderbird", $sTheme, 2, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "tangerine"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
;_RoutineApps("office2010", $sTheme, 2, 1) ;not TANGERINE
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
;_RoutineApps("firefox-thunderbird", $sTheme, 2, 1) ;not TANGERINE
_RoutineApps("thunderbird", $sTheme, 2, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "gnome"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
_RoutineApps("office2010", $sTheme, 2, 1)
_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "cheser"
;_RoutineApps("crystaldiskinfo", $sTheme, 2, 1) ;not CHESER
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
;_RoutineApps("mpchc", $sTheme, 2, 1) ;not CHESER
;_RoutineApps("office2010", $sTheme, 2, 1) ;not CHESER
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
;_RoutineApps("radiosure", $sTheme, 2, 1) ;not CHESER
;_RoutineApps("winyl", $sTheme, 2, 1) ;not CHESER
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
;_RoutineApps("thunderbird", $sTheme, 1, 1) ;not CHESER
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "gnome-brave"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
;_RoutineApps("office2010", $sTheme, 2, 1) ;not GNOME-COLORS
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
;_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "gnome-human"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
;_RoutineApps("office2010", $sTheme, 2, 1) ;not GNOME-COLORS
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
;_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "gnome-noble"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
;_RoutineApps("office2010", $sTheme, 2, 1) ;not GNOME-COLORS
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
;_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "gnome-wine"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
;_RoutineApps("office2010", $sTheme, 2, 1) ;not GNOME-COLORS
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
;_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "gnome-wise"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
;_RoutineApps("office2010", $sTheme, 2, 1) ;not GNOME-COLORS
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
;_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "elementary"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
_RoutineApps("office2010", $sTheme, 2, 1)
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("vlc", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
$sTheme = "humanity"
_RoutineApps("crystaldiskinfo", $sTheme, 2, 1)
;_RoutineApps("foobar2000", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("gimp", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("inkscape", $sTheme, 2, 1) ;only GNOME
;_RoutineApps("libreoffice", $sTheme, 2, 1) ;only GNOME;CHESER
_RoutineApps("mpchc", $sTheme, 2, 1)
_RoutineApps("office2010", $sTheme, 2, 1)
;_RoutineApps("openoffice", $sTheme, 2, 1) ;only GNOME
_RoutineApps("pidgin", $sTheme, 2, 1)
;_RoutineApps("rainlendar", $sTheme, 2, 1) ;only GNOME
_RoutineApps("utorrent", $sTheme, 2, 1)
_RoutineApps("radiosure", $sTheme, 2, 1)
_RoutineApps("winyl", $sTheme, 2, 1)
_RoutineApps("aimp", $sTheme, 1, 1)
_RoutineApps("smplayer", $sTheme, 1, 1)
_RoutineApps("jdownloader", $sTheme, 1, 1)
_RoutineApps("firefox", $sTheme, 1, 1)
_RoutineApps("firefox-thunderbird", $sTheme, 2, 1)
_RoutineApps("thunderbird", $sTheme, 1, 1)
_Compress("theme-apps-" & $sTheme & ".7z")
DirRemove($TempDirMain, 1)
EndFunc
Func _RoutineApps($sApp, $sTheme, $vRoutine = 1, $OnlyCopy = 0)
$dirTemp = @ScriptDir & "\_tmp\Resources\themes\" & $sApp
$dirSourceCommon = @ScriptDir & "\gnome\themes\" & $sApp
$dirSourceCommonColors = @ScriptDir & "\gnome-brave\themes\" & $sApp
$dirSourceCommonTango = @ScriptDir & "\tango\themes\" & $sApp
$dirSourceCommonElementary = @ScriptDir & "\elementary\themes\" & $sApp
$dirSource = @ScriptDir & "\" & $sTheme & "\themes\" & $sApp
$fileOut = "theme-" & $sApp & "-" & $sTheme & ".7z"
DirCreate($dirTemp)
If $vRoutine = 2 Then
DirCopy($dirSourceCommon, $dirTemp, 1)
If $sTheme = "gnome-human" Then DirCopy($dirSourceCommonColors, $dirTemp, 1)
If $sTheme = "gnome-noble" Then DirCopy($dirSourceCommonColors, $dirTemp, 1)
If $sTheme = "gnome-wine" Then DirCopy($dirSourceCommonColors, $dirTemp, 1)
If $sTheme = "gnome-wise" Then DirCopy($dirSourceCommonColors, $dirTemp, 1)
If $sTheme = "humanity" Then DirCopy($dirSourceCommonElementary, $dirTemp, 1)
If $sTheme = "tangerine" Then DirCopy($dirSourceCommonTango, $dirTemp, 1)
;Special
If $sApp = "firefox-thunderbird" Then FileDelete($dirTemp & "\*.xpi")
If $sApp = "firefox" Then FileDelete($dirTemp & "\*.xpi")
If $sApp = "thunderbird" Then FileDelete($dirTemp & "\*.xpi")
If $sApp = "radiosure" and $sTheme <> "gnome" Then DirRemove($dirTemp & "\skins\gnome.rsn", 1)
If $sApp = "radiosure" and $sTheme = "humanity" Then DirRemove($dirTemp & "\skins\elementary.rsn", 1)
If $sApp = "radiosure" and $sTheme = "tangerine" Then DirRemove($dirTemp & "\skins\tango.rsn", 1)
If $sApp = "winyl" and $sTheme <> "gnome" Then FileDelete($dirTemp & "\Flat Gnome.wzp")
If $sApp = "winyl" and $sTheme = "gnome-human" Then FileDelete($dirTemp & "\Flat Gnome-Brave.wzp")
If $sApp = "winyl" and $sTheme = "gnome-noble" Then FileDelete($dirTemp & "\Flat Gnome-Brave.wzp")
If $sApp = "winyl" and $sTheme = "gnome-wine" Then FileDelete($dirTemp & "\Flat Gnome-Brave.wzp")
If $sApp = "winyl" and $sTheme = "gnome-wise" Then FileDelete($dirTemp & "\Flat Gnome-Brave.wzp")
If $sApp = "winyl" and $sTheme = "humanity" Then FileDelete($dirTemp & "\elementary.wzp")
If $sApp = "winyl" and $sTheme = "tangerine" Then FileDelete($dirTemp & "\Flat Tango.wzp")
If $sApp = "crystaldiskinfo" and $sTheme = "elementary" Then DirRemove($dirTemp & "\Shiki-Colors", 1)
If $sApp = "crystaldiskinfo" and $sTheme = "humanity" Then DirRemove($dirTemp & "\elementary", 1)
DirCopy($dirSource, $dirTemp, 1)
ElseIf $vRoutine = 1 Then
DirCopy($dirSource, $dirTemp, 1)
EndIf
;Compress & Cleanup
If $OnlyCopy = 0 Then _Compress($fileOut)
If $OnlyCopy = 0 Then DirRemove($TempDirMain, 1)
EndFunc
Func _Compress($fileOut)
$7zip_exe = @ScriptDir & "\7z.exe"
$command = $7zip_exe & ' a -mx9 "' & $OutDir & '\' & $fileOut & '" "' & @ScriptDir & '\_tmp\Resources\*" -xr@exclude.txt'
;MsgBox(0,"",$command)
;RunWait(@ComSpec & ' /c ' & $command, "", @SW_HIDE)
RunWait($command, @ScriptDir ,@SW_HIDE)
EndFunc

View File

@@ -1,11 +0,0 @@
@echo off
setlocal
set "AutoItPath=C:\Program Files (x86)\AutoIt3\Aut2Exe"
set "ScriptDir=%CD%"
if exist "_BuildRessources.exe" del /q /f "_BuildRessources.exe"
cd /d %AutoItPath%
start /wait Aut2exe.exe /in "%ScriptDir%\_BuildRessources.au3" /x86

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 993 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 993 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Some files were not shown because too many files have changed in this diff Show More