From e823aa90c8fd0bbd95e14d4d555295539efaebe8 Mon Sep 17 00:00:00 2001 From: Joey Wunderlich Date: Tue, 10 Mar 2026 10:49:14 -0700 Subject: [PATCH] disable architecture detection for offline app page (#11183) * remove recommended for mac offline since it's not accurately detecting * don't recommend at all, doesn't seem consistent anymore on my arm device either --- docfiles/offline-app-head.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docfiles/offline-app-head.html b/docfiles/offline-app-head.html index 67b9d58dc583..cc06e1ee873b 100644 --- a/docfiles/offline-app-head.html +++ b/docfiles/offline-app-head.html @@ -530,17 +530,15 @@ let recommendedButton = null; if (isMac) { - if (isAppleSilicon) { - recommendedButton = $("#download-macarm64"); - } else { - recommendedButton = $("#download-mac64"); - } + // Do not recommend a Mac binary because architecture detection is unreliable across browsers + recommendedButton = null; } else if (isWindows) { - if (false && isWindowsARM) { - recommendedButton = $("#download-winarm64"); - } else { - recommendedButton = $("#download-win64"); - } + // if (false && isWindowsARM) { + // recommendedButton = $("#download-winarm64"); + // } else { + // recommendedButton = $("#download-win64"); + // } + recommendedButton = null; } // Mark the recommended download