Files
Michael HerrmannandMax Karolinskiy 49faa97bb6 Fix Windows delta updates (#31937)
Chromium 142 broke delta updates on Windows. This commit fixes them by
reverting upstream commits 13ca199c and a4d120da with a few patches,
vendored code and chromium_src overrides. The changes should affect the
browser Windows installer only, and not the Omaha update client.

Co-authored-by: Max Karolinskiy <max@brave.com>
2025-12-04 19:16:50 +01:00

26 lines
974 B
Plaintext

Name: bspatch
URL: https://github.com/mozilla-services/services-central-legacy/tree/master/toolkit/mozapps/update/updater
Version: N/A
Revision: 465265d0d473d107b76e74d969199eaf2cdc8750
Update Mechanism: Static.HardFork (https://crbug.com/422918425)
License: BSD-2-Clause
License File: LICENSE
Security Critical: yes
Shipped: yes
Description:
This is Chrome's locally patched copy of Colin Percival's bspatch tool. It used
to be in Chromium and had to be restored in Brave to support delta updates on
Windows until Brave is on Omaha 4. See github.com/brave/brave-core/pull/31937.
Originally obtained from Mozilla's local copy/fork of bspatch; see:
The license is shared in common with bsdiff.
Local changes include CRC32 verification and improvements in error handling.
Update(08 Sep 08): Changed ApplyBinaryPatch to accept wchar_t paths
instead of char paths.
Update(12 May 13): Report error on MBS_ApplyPatch failure.
Update(27 July 16): Improve validation of diffs.