From a89a618cf2b28891f22034d5cf7a55253fcf54db Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Fri, 12 Jul 2024 19:33:16 +0200 Subject: [PATCH] refactor: Update download.tsx to use "WindowsStubInstaller" instead of "WindowsInstaller" in select options --- src/components/download.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/download.tsx b/src/components/download.tsx index a2c8bf7..3f4dbe5 100644 --- a/src/components/download.tsx +++ b/src/components/download.tsx @@ -22,12 +22,14 @@ function getDefaultPlatformBasedOnUserAgent() { return "WindowsInstaller"; } if (userAgent.includes("Mac")) { - return "MacOS"; + // TODO: + // return "MacOS"; + return ""; } if (userAgent.includes("Linux")) { return "Linux"; } - return "WindowsInstaller"; + return ""; } const formSchema = z.object({