From 806fbe9103e400b8a7243918116256665a89b39f Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Wed, 24 Jun 2026 03:42:16 +0000 Subject: [PATCH] Apply changes from https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/pull/2278 --- update_manifest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update_manifest.py b/update_manifest.py index 7216255fda..929f8f5ea6 100644 --- a/update_manifest.py +++ b/update_manifest.py @@ -102,6 +102,9 @@ def create_manifest(version: str | None = None, replace: bool = False) -> None: if exclude_dirs and _exclude_directory(exclude_dirs, path): continue data = path.read_bytes() + # Normalize line endings for non-binary files in case they were accidentally mixed + if b"\0" not in data: + data = re.sub(rb"\r\n?|\n", b"\r\n", data) sha1 = hashlib.sha1(data).hexdigest() name = path.relative_to(config[section]["path"]).as_posix() attributes = (