From be520bbc10e31d7134752f864b3ce475578d156f Mon Sep 17 00:00:00 2001 From: juj Date: Thu, 23 Oct 2025 20:33:44 +0300 Subject: [PATCH] Fix mozdownload of native ARM64 Firefox on Windows-on-ARM. (#1621) Before mozdownload was downloading x64 artifacts and running them through the Windows Prism emulation. --- emsdk.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emsdk.py b/emsdk.py index 243f4b0..c7872f7 100644 --- a/emsdk.py +++ b/emsdk.py @@ -1282,6 +1282,8 @@ def download_firefox(tool): platform = None if LINUX and 'arm' in ARCH: platform = 'linux-arm64' + if WINDOWS and 'arm' in ARCH: + platform = 'win64-aarch64' if tool.version == 'nightly': scraper = FactoryScraper('daily', extension=extension, locale='en-US', platform=platform)