mirror of
https://github.com/jellyfin/jellyfin.org.git
synced 2024-11-23 13:59:44 +00:00
Merge pull request #1077 from gnattu/dedicated-dotnet-portable
Add dedicated dotnet tab for dotnet portable build
This commit is contained in:
commit
c5d1fd5232
@ -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 .NET portable version can be run on any system with a .NET runtime using jellyfin.dll',
|
||||
stableButtons: [
|
||||
{
|
||||
id: 'portable-manual-stable-link',
|
||||
|
8
src/pages/downloads/dotnet.tsx
Normal file
8
src/pages/downloads/dotnet.tsx
Normal file
@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
|
||||
import DownloadsPage from './server';
|
||||
import { OsType } from '../../data/downloads';
|
||||
|
||||
export default function DotNetDownloads() {
|
||||
return <DownloadsPage osType={OsType.DotNet} />;
|
||||
}
|
@ -62,6 +62,12 @@ export default function DownloadsPage({ osType = OsType.Linux }: { osType?: OsTy
|
||||
>
|
||||
macOS
|
||||
</Link>
|
||||
<Link
|
||||
to='/downloads/dotnet'
|
||||
className={clsx('pills__item', { 'pills__item--active': osType === OsType.DotNet })}
|
||||
>
|
||||
.NET
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user