mirror of
https://github.com/heebijeebi/WinTango-Patcher.git
synced 2024-06-22 05:21:56 +02:00
Support FreeFileSync
This commit is contained in:
@@ -548,6 +548,15 @@ Func ApplyTheme_jDownloader()
|
|||||||
EndIf
|
EndIf
|
||||||
EndFunc
|
EndFunc
|
||||||
|
|
||||||
|
Func ApplyTheme_FreeFileSync()
|
||||||
|
If FileExists($ProgramFiles & "\FreeFileSync\FreeFileSync.exe") or FileExists($ProgramFiles64 & "\FreeFileSync\FreeFileSync.exe") Then
|
||||||
|
;Install
|
||||||
|
CheckAndCloseProcess("FreeFileSync.exe", "FreeFileSync")
|
||||||
|
|
||||||
|
InstallTheme("FreeFileSync", $ProgramFiles & "\FreeFileSync\FreeFileSync", $ProgramFiles & "\FreeFileSync", "Resources.zip", $ResourcesDir & "\themes\FreeFileSync\Resources.zip")
|
||||||
|
EndIf
|
||||||
|
EndFunc
|
||||||
|
|
||||||
Func ApplyTheme_Firefox()
|
Func ApplyTheme_Firefox()
|
||||||
;Theme - no need for a backup
|
;Theme - no need for a backup
|
||||||
If FileExists($ProgramFiles & "\Mozilla Firefox\firefox.exe") or FileExists($ProgramFiles64 & "\Mozilla Firefox\firefox.exe") Then
|
If FileExists($ProgramFiles & "\Mozilla Firefox\firefox.exe") or FileExists($ProgramFiles64 & "\Mozilla Firefox\firefox.exe") Then
|
||||||
|
@@ -37,6 +37,10 @@ Func ReAppearance()
|
|||||||
UpdateTheme("Mozilla Thunderbird", $ProgramFiles & "\Mozilla Thunderbird\thunderbird.exe", $ProgramFiles & "\Mozilla Thunderbird\chrome\icons\default", "addressbookWindow.ico", $ResourcesDir & "\themes\Thunderbird\icons\addressbookWindow.ico")
|
UpdateTheme("Mozilla Thunderbird", $ProgramFiles & "\Mozilla Thunderbird\thunderbird.exe", $ProgramFiles & "\Mozilla Thunderbird\chrome\icons\default", "addressbookWindow.ico", $ResourcesDir & "\themes\Thunderbird\icons\addressbookWindow.ico")
|
||||||
UpdateTheme("Mozilla Thunderbird", $ProgramFiles & "\Mozilla Thunderbird\thunderbird.exe", $ProgramFiles & "\Mozilla Thunderbird\chrome\icons\default", "messengerWindow.ico", $ResourcesDir & "\themes\Thunderbird\icons\messengerWindow.ico")
|
UpdateTheme("Mozilla Thunderbird", $ProgramFiles & "\Mozilla Thunderbird\thunderbird.exe", $ProgramFiles & "\Mozilla Thunderbird\chrome\icons\default", "messengerWindow.ico", $ResourcesDir & "\themes\Thunderbird\icons\messengerWindow.ico")
|
||||||
UpdateTheme("Mozilla Thunderbird", $ProgramFiles & "\Mozilla Thunderbird\thunderbird.exe", $ProgramFiles & "\Mozilla Thunderbird\chrome\icons\default", "msgcomposeWindow.ico", $ResourcesDir & "\themes\Thunderbird\icons\msgcomposeWindow.ico")
|
UpdateTheme("Mozilla Thunderbird", $ProgramFiles & "\Mozilla Thunderbird\thunderbird.exe", $ProgramFiles & "\Mozilla Thunderbird\chrome\icons\default", "msgcomposeWindow.ico", $ResourcesDir & "\themes\Thunderbird\icons\msgcomposeWindow.ico")
|
||||||
|
|
||||||
|
;FreeFileSync
|
||||||
|
UpdateTheme("FreeFileSync", $ProgramFiles & "\FreeFileSync\FreeFileSync.exe", $ProgramFiles & "\FreeFileSync", "Resources.zip", $ResourcesDir & "\themes\FreeFileSync\Resources.zip")
|
||||||
|
UpdateTheme("FreeFileSync", $ProgramFiles64 & "\FreeFileSync\FreeFileSync.exe", $ProgramFiles64 & "\FreeFileSync", "Resources.zip", $ResourcesDir & "\themes\FreeFileSync\Resources.zip")
|
||||||
EndFunc
|
EndFunc
|
||||||
|
|
||||||
|
|
||||||
|
@@ -303,6 +303,11 @@ Func UnAppearance()
|
|||||||
FileDelete($ProgramFiles & "\Winyl\Skin\Flat elementary.wzp")
|
FileDelete($ProgramFiles & "\Winyl\Skin\Flat elementary.wzp")
|
||||||
FileDelete($ProgramFiles & "\Winyl\Skin\elementary.wzp")
|
FileDelete($ProgramFiles & "\Winyl\Skin\elementary.wzp")
|
||||||
FileDelete($ProgramFiles & "\Winyl\Skin\Flat Humanity.wzp")
|
FileDelete($ProgramFiles & "\Winyl\Skin\Flat Humanity.wzp")
|
||||||
|
|
||||||
|
;FreeFileSync
|
||||||
|
CheckAndCloseProcess("FreeFileSync.exe", "FreeFileSync")
|
||||||
|
UninstallTheme("FreeFileSync", $ProgramFiles & "\FreeFileSync\FreeFileSync.exe", $ProgramFiles & "\FreeFileSync", "Resources.zip", $ResourcesDir & "\themes\FreeFileSync\Resources.zip")
|
||||||
|
UninstallTheme("FreeFileSync", $ProgramFiles64 & "\FreeFileSync\FreeFileSync.exe", $ProgramFiles64 & "\FreeFileSync", "Resources.zip", $ResourcesDir & "\themes\FreeFileSync\Resources.zip")
|
||||||
EndFunc
|
EndFunc
|
||||||
|
|
||||||
|
|
||||||
|
@@ -276,3 +276,9 @@ Win=All
|
|||||||
Entrys=1
|
Entrys=1
|
||||||
File_1=Winyl.exe
|
File_1=Winyl.exe
|
||||||
Path_1=ProgramfilesDir\Winyl
|
Path_1=ProgramfilesDir\Winyl
|
||||||
|
|
||||||
|
[FreeFileSync]
|
||||||
|
Win=All
|
||||||
|
Entrys=1
|
||||||
|
File_1=FreeFileSync.exe
|
||||||
|
Path_1=ProgramfilesDir\FreeFileSync
|
Reference in New Issue
Block a user