mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Build Sonarr on Net6
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,8 @@ class About extends Component {
|
||||
version,
|
||||
packageVersion,
|
||||
packageAuthor,
|
||||
isMonoRuntime,
|
||||
isNetCore,
|
||||
isDocker,
|
||||
runtimeVersion,
|
||||
appData,
|
||||
startupPath,
|
||||
@@ -45,14 +46,18 @@ class About extends Component {
|
||||
}
|
||||
|
||||
{
|
||||
isMonoRuntime ?
|
||||
isNetCore &&
|
||||
<DescriptionListItem
|
||||
title="Mono Version"
|
||||
data={runtimeVersion}
|
||||
/> :
|
||||
title=".Net Version"
|
||||
data={`Yes (${runtimeVersion})`}
|
||||
/>
|
||||
}
|
||||
|
||||
{
|
||||
isDocker &&
|
||||
<DescriptionListItem
|
||||
title=".net Version"
|
||||
data={runtimeVersion}
|
||||
title="Docker"
|
||||
data={'Yes'}
|
||||
/>
|
||||
}
|
||||
|
||||
@@ -92,8 +97,9 @@ About.propTypes = {
|
||||
version: PropTypes.string.isRequired,
|
||||
packageVersion: PropTypes.string,
|
||||
packageAuthor: PropTypes.string,
|
||||
isMonoRuntime: PropTypes.bool.isRequired,
|
||||
isNetCore: PropTypes.bool.isRequired,
|
||||
runtimeVersion: PropTypes.string.isRequired,
|
||||
isDocker: PropTypes.bool.isRequired,
|
||||
appData: PropTypes.string.isRequired,
|
||||
startupPath: PropTypes.string.isRequired,
|
||||
mode: PropTypes.string.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user