From 12cf6a61537a8cb7dcb72bf947978ed264cfac3a Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Thu, 11 Jul 2024 21:22:43 +0200 Subject: [PATCH] refactor: Update download.tsx to use "WindowsStubInstaller" instead of "WindowsInstaller" in select options --- src/components/download.tsx | 3 ++- src/lib/releases.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/download.tsx b/src/components/download.tsx index f2a82d3..d928454 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 "WindowsInstaller"; + return "WindowsStubInstaller"; } if (userAgent.includes("Mac")) { return "MacOS"; @@ -98,6 +98,7 @@ export default function DownloadPage() { Operating System Windows Installer + Windows Pretty Installer Windows (Zip) MacOS Linux diff --git a/src/lib/releases.ts b/src/lib/releases.ts index bbee027..f371b06 100644 --- a/src/lib/releases.ts +++ b/src/lib/releases.ts @@ -1,5 +1,6 @@ export const releases: any = { WindowsInstaller: "zen.installer.exe", + WindowsStubInstaller: "zen.installer.pretty.exe", WindowsZip: "zen.win64.zip", //MacOS: [], Linux: "zen.linux.tar.bz2",