From 35dae7c2b8b5537e48a0a991001cfb989264b665 Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Sun, 24 Mar 2024 09:47:17 +1100 Subject: [PATCH] Fix platform version --- manifest.xml | 46 +++++++++++++++++++++++----------------------- update_manifest.py | 4 ++-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/manifest.xml b/manifest.xml index 8a784050e8..372bfe3a1f 100644 --- a/manifest.xml +++ b/manifest.xml @@ -2,7 +2,7 @@ - + @@ -241,16 +241,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -260,15 +260,15 @@ - - - - - - - - - + + + + + + + + + @@ -299,9 +299,9 @@ - - - + + + diff --git a/update_manifest.py b/update_manifest.py index dbffcda3e0..910ea8236f 100644 --- a/update_manifest.py +++ b/update_manifest.py @@ -84,7 +84,7 @@ def create_manifest(version: str | None = None, replace: bool = False) -> None: url = base_url + config[part]["path"] url_with_trailing_slash = url if url.endswith("/") else url + "/" attributes = ( - {"part": part, "platform": "win64", "url": url_with_trailing_slash} + {"part": part, "platform": "win32", "url": url_with_trailing_slash} if part == "runtime" else {"part": part, "url": url_with_trailing_slash} ) @@ -111,7 +111,7 @@ def create_manifest(version: str | None = None, replace: bool = False) -> None: sha1 = hashlib.sha1(data).hexdigest() name = path.relative_to(config[section]["path"]).as_posix() attributes = ( - {"name": name, "part": section, "runtime": "win64", "sha1": sha1} + {"name": name, "part": section, "runtime": "win32", "sha1": sha1} if path.suffix in [".dll", ".exe"] else {"name": name, "part": section, "sha1": sha1} )