The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(release): read the Windows executable name from the MSIX manifest
ethernet051febedfdc8
diff --git a/scripts/bundles/release_artifacts.py b/scripts/bundles/release_artifacts.pyindex b40c8ccbbe1..ff1524bc54a 100644--- a/scripts/bundles/release_artifacts.py+++ b/scripts/bundles/release_artifacts.py@@ -12,7 +12,7 @@ import tempfileimport urllib.requestimport xml.etree.ElementTree as ETimport zipfile-from pathlib import Path+from pathlib import Path, PureWindowsPathfrom scripts.releases.stable import read_admitted_candidate, accepted_smoke_results, validate_candidates@@ -85,9 +85,9 @@ def record(platform: str, arch: str, root: Path, tag: str, commit: str, out: Patversion_sidecar.read_text(encoding="utf-8-sig"),)["productVersion"]elif os.name == "nt":- executable_name = (stamp.get("identity") or {}).get("windowsExecutableName")- executables = list(root.rglob(f"{executable_name}.exe")) if executable_name else []- executable = single(executables)+ # The stamp carries no executable name; the package's own manifest does.+ executable_name = PureWindowsPath(application.attrib["Executable"]).name+ executable = single(root.glob(f"*-unpacked/{executable_name}"))row["executableVersion"] = subprocess.check_output(["powershell", "-NoProfile", "-Command","(Get-Item -LiteralPath $args[0]).VersionInfo.ProductVersion", str(executable),