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

Firefox/Thunderbird Fixes/Updates

This commit is contained in:
heebijeebi
2016-11-13 14:14:40 +01:00
parent ba1341d9f7
commit e31cbda195
19 changed files with 9 additions and 4 deletions

View File

@@ -318,7 +318,12 @@ Func UpdateTheme($App, $AppExePath, $TargetFolder, $FileToCopy, $ResFile)
;replace file in target folder
If FileCopy($ResFile, $TargetFolder & "\" & $FileToCopy, 1) = 0 Then
MoveEx($ResFile, $TargetFolder & "\" & $FileToCopy) ;replace locked file on reboot
;create a copy in temp to prevent missing files the next time
DirCreate(@ScriptDir & "\temp")
FileCopy($ResFile, @ScriptDir & "\temp\" & $FileToCopy, 1)
MoveEx(@ScriptDir & "\temp\" & $FileToCopy, $TargetFolder & "\" & $FileToCopy) ;replace locked file on reboot
;MoveEx($ResFile, $TargetFolder & "\" & $FileToCopy) ;replace locked file on reboot
$UpdatedFileCount = $UpdatedFileCount + 1 ;tell the patcher to reboot
EndIf