rename target abi property

This commit is contained in:
dkanada 2020-04-11 19:54:33 +09:00
parent 78abbcc251
commit abb7ed9c35
2 changed files with 4 additions and 4 deletions

View File

@ -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)
{ {

View File

@ -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.