Fix frontend download links pointing to split Mac binaries (#6325)

This commit is contained in:
James Brunton
2026-05-07 20:25:01 +01:00
committed by GitHub
parent efd2ed754c
commit 270af912d4
4 changed files with 10 additions and 54 deletions
@@ -46,13 +46,8 @@ export function useSaasOnboardingState({
switch (osType) {
case "windows":
return { label: "Windows", url: DOWNLOAD_URLS.WINDOWS };
case "mac-apple":
return {
label: "Mac (Apple Silicon)",
url: DOWNLOAD_URLS.MAC_APPLE_SILICON,
};
case "mac-intel":
return { label: "Mac (Intel)", url: DOWNLOAD_URLS.MAC_INTEL };
case "mac":
return { label: "Mac", url: DOWNLOAD_URLS.MAC };
case "linux-x64":
case "linux-arm64":
return { label: "Linux", url: DOWNLOAD_URLS.LINUX_DOCS };
@@ -64,16 +59,7 @@ export function useSaasOnboardingState({
const osOptions = useMemo(() => {
const options = [
{ label: "Windows", url: DOWNLOAD_URLS.WINDOWS, value: "windows" },
{
label: "Mac (Apple Silicon)",
url: DOWNLOAD_URLS.MAC_APPLE_SILICON,
value: "mac-apple",
},
{
label: "Mac (Intel)",
url: DOWNLOAD_URLS.MAC_INTEL,
value: "mac-intel",
},
{ label: "Mac", url: DOWNLOAD_URLS.MAC, value: "mac" },
{ label: "Linux", url: DOWNLOAD_URLS.LINUX_DOCS, value: "linux" },
];
return options.filter((opt) => opt.url);