From 8746bde9f171742247d4fcc2fdc65afc012a59eb Mon Sep 17 00:00:00 2001 From: gnattu Date: Thu, 15 Aug 2024 07:12:31 +0800 Subject: [PATCH] Add dedicated dotnet tab for dotnet protable build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are listing these portable builds under all OS tabs, which may confuse users because each OS also has its own platform-specific builds that we refer to as “portable” in our documentation. To avoid confusion, separate the tabs accordingly. --- src/data/downloads.tsx | 7 ++++--- src/pages/downloads/dotnet.tsx | 8 ++++++++ src/pages/downloads/server.tsx | 6 ++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 src/pages/downloads/dotnet.tsx diff --git a/src/data/downloads.tsx b/src/data/downloads.tsx index 0d6f85fdf..154a99df8 100644 --- a/src/data/downloads.tsx +++ b/src/data/downloads.tsx @@ -16,7 +16,8 @@ export enum OsType { Docker, Linux, MacOS, - Windows + Windows, + DotNet, } export type Button = { @@ -275,11 +276,11 @@ sudo apt install jellyfin`} { id: 'portable', name: 'Portable', - osTypes: [OsType.Linux, OsType.MacOS, OsType.Windows], + osTypes: [OsType.DotNet], status: DownloadStatus.Official, features: [], platforms: [Platform.DotNet], - description: 'The portable version can be run on any system with a .NET Core runtime.', + description: 'The portable version can be run on any system with a .NET runtime.', stableButtons: [ { id: 'portable-manual-stable-link', diff --git a/src/pages/downloads/dotnet.tsx b/src/pages/downloads/dotnet.tsx new file mode 100644 index 000000000..1a0ca91f9 --- /dev/null +++ b/src/pages/downloads/dotnet.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import DownloadsPage from './server'; +import { OsType } from '../../data/downloads'; + +export default function DotNetDownloads() { + return ; +} diff --git a/src/pages/downloads/server.tsx b/src/pages/downloads/server.tsx index 9c3d03e76..f4b478f52 100644 --- a/src/pages/downloads/server.tsx +++ b/src/pages/downloads/server.tsx @@ -62,6 +62,12 @@ export default function DownloadsPage({ osType = OsType.Linux }: { osType?: OsTy > macOS + + DotNet +