mirror of https://github.com/jellyfin/jellyfin.git
rename target abi property
This commit is contained in:
parent
78abbcc251
commit
abb7ed9c35
|
@ -154,7 +154,7 @@ namespace Emby.Server.Implementations.Updates
|
||||||
{
|
{
|
||||||
var appVer = _applicationHost.ApplicationVersion;
|
var appVer = _applicationHost.ApplicationVersion;
|
||||||
availableVersions = availableVersions
|
availableVersions = availableVersions
|
||||||
.Where(x => Version.Parse(x.minimumServerVersion) <= appVer);
|
.Where(x => Version.Parse(x.targetAbi) <= appVer);
|
||||||
|
|
||||||
if (minVersion != null)
|
if (minVersion != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,10 +35,10 @@ namespace MediaBrowser.Model.Updates
|
||||||
public string description { get; set; }
|
public string description { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the minimum required version for the server.
|
/// Gets or sets the ABI that this version was built against.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The minimum required version.</value>
|
/// <value>The target ABI version.</value>
|
||||||
public string minimumServerVersion { get; set; }
|
public string targetAbi { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the source URL.
|
/// Gets or sets the source URL.
|
||||||
|
|
Loading…
Reference in New Issue