From 0269cf5599c4eebae59348e788c0f0d59ebeb1ff Mon Sep 17 00:00:00 2001 From: gnattu Date: Thu, 15 Aug 2024 07:12:31 +0800 Subject: [PATCH 1/3] Add dedicated dotnet tab for dotnet portable 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 + From 7b56c229f1ae1512a76323f4f9cd8d142345fbbc Mon Sep 17 00:00:00 2001 From: gnattu Date: Sat, 24 Aug 2024 07:55:33 +0800 Subject: [PATCH 2/3] Make the description more explicit --- src/data/downloads.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/downloads.tsx b/src/data/downloads.tsx index 154a99df8..347d65a25 100644 --- a/src/data/downloads.tsx +++ b/src/data/downloads.tsx @@ -280,7 +280,7 @@ sudo apt install jellyfin`} status: DownloadStatus.Official, features: [], platforms: [Platform.DotNet], - description: 'The portable version can be run on any system with a .NET runtime.', + description: 'The .NET portable version can be run on any system with a .NET runtime using jellyfin.dll', stableButtons: [ { id: 'portable-manual-stable-link', From 8965d68359924b7ded12ee103c251db717471732 Mon Sep 17 00:00:00 2001 From: gnattu Date: Sun, 1 Sep 2024 06:32:39 +0800 Subject: [PATCH 3/3] Use .NET branding --- src/pages/downloads/server.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/downloads/server.tsx b/src/pages/downloads/server.tsx index f4b478f52..88d184aec 100644 --- a/src/pages/downloads/server.tsx +++ b/src/pages/downloads/server.tsx @@ -66,7 +66,7 @@ export default function DownloadsPage({ osType = OsType.Linux }: { osType?: OsTy to='/downloads/dotnet' className={clsx('pills__item', { 'pills__item--active': osType === OsType.DotNet })} > - DotNet + .NET