authorgravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-03-09 01:20:14-07:00
committergravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-03-09 01:20:14-07:00
logc585128bbe0311615c58921909467f49600cb85f
tree320ed9ab6fd12cc0a21c33a5abaab231e4b433c2
parentacd92f9b061b8638ef9cfe974dad19042b3762e8
signature Commit is signed but in an unrecognized format.

ARM ALWAYS FUCK YOU INTEL


1 files changed, 1 insertions(+), 3 deletions(-)

apps/marketing/src/pages/index.astro+1-3
...@@ -77,12 +77,10 @@...@@ -77,12 +77,10 @@
77 const ua = navigator.userAgent;77 const ua = navigator.userAgent;
78 if (/Win/i.test(ua)) return { os: "win", label: "Download for Windows" };78 if (/Win/i.test(ua)) return { os: "win", label: "Download for Windows" };
79 if (/Mac/i.test(ua)) {79 if (/Mac/i.test(ua)) {
80 const isArm =
81 /arm|aarch/i.test(navigator.platform ?? "") || ua.includes("ARM");
82 return {80 return {
83 os: "mac",81 os: "mac",
84 label: `Download for macOS`,82 label: `Download for macOS`,
85 arch: isArm ? "arm64" : "x64",83 arch: "arm64",
86 };84 };
87 }85 }
88 if (/Linux/i.test(ua)) return { os: "linux", label: "Download for Linux" };86 if (/Linux/i.test(ua)) return { os: "linux", label: "Download for Linux" };