From e0491dd6c7fbff945bcfc11cdd49b53038ff26a9 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Thu, 11 Jul 2024 09:48:56 +0200 Subject: [PATCH] refactor: Update download.tsx to use "WindowsInstaller" instead of "WindowsZip" in select options --- src/components/download.tsx | 4 ++-- src/lib/releases.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/download.tsx b/src/components/download.tsx index 7406230..f2a82d3 100644 --- a/src/components/download.tsx +++ b/src/components/download.tsx @@ -19,7 +19,7 @@ function getDefaultPlatformBasedOnUserAgent() { userAgent = window.navigator.userAgent; } if (userAgent.includes("Win")) { - return "WindowsZip"; + return "WindowsInstaller"; } if (userAgent.includes("Mac")) { return "MacOS"; @@ -97,7 +97,7 @@ export default function DownloadPage() { Operating System - Windows Installer + Windows Installer Windows (Zip) MacOS Linux diff --git a/src/lib/releases.ts b/src/lib/releases.ts index 6d07da8..bbee027 100644 --- a/src/lib/releases.ts +++ b/src/lib/releases.ts @@ -1,4 +1,5 @@ export const releases: any = { + WindowsInstaller: "zen.installer.exe", WindowsZip: "zen.win64.zip", //MacOS: [], Linux: "zen.linux.tar.bz2",