diff --git a/apps/website/src/lib/download-helper.ts b/apps/website/src/lib/download-helper.ts index b695827d9..3e7b958c4 100644 --- a/apps/website/src/lib/download-helper.ts +++ b/apps/website/src/lib/download-helper.ts @@ -66,7 +66,7 @@ export const downloadMatrix = { } }; -function getArchitecture(): Architecture { +export function getArchitecture(): Architecture { const userAgent = navigator.userAgent.toLowerCase(); if (userAgent.includes('arm64') || userAgent.includes('aarch64')) { return 'arm64'; diff --git a/apps/website/src/routes/download/+page.svelte b/apps/website/src/routes/download/+page.svelte index 89e7e7028..9e4d1c25b 100644 --- a/apps/website/src/routes/download/+page.svelte +++ b/apps/website/src/routes/download/+page.svelte @@ -1,7 +1,7 @@ @@ -11,17 +11,14 @@ Architecture: - - x86 - - - ARM - + {#each ["x64", "arm64"] as arch} + architecture = arch}> + {arch} + + {/each} @@ -29,7 +26,7 @@ {#each Object.values(downloadMatrix.desktop) as platform} - {platform.title} + {platform.title} ({architecture}) {#each Object.values(platform.downloads) as download}