mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
update the updater
This commit is contained in:
parent
c317f6c34f
commit
614edab79f
@ -1299,7 +1299,7 @@ namespace MediaBrowser.Server.Startup.Common
|
|||||||
/// <param name="cancellationToken">The cancellation token.</param>
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||||||
/// <param name="progress">The progress.</param>
|
/// <param name="progress">The progress.</param>
|
||||||
/// <returns>Task{CheckForUpdateResult}.</returns>
|
/// <returns>Task{CheckForUpdateResult}.</returns>
|
||||||
public override async Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
|
public override Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
|
||||||
{
|
{
|
||||||
var includePreRelease = false;
|
var includePreRelease = false;
|
||||||
var cacheLength = TimeSpan.FromHours(12);
|
var cacheLength = TimeSpan.FromHours(12);
|
||||||
@ -1323,8 +1323,8 @@ namespace MediaBrowser.Server.Startup.Common
|
|||||||
includePreRelease = true;
|
includePreRelease = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return await new GithubUpdater(HttpClient, JsonSerializer, cacheLength)
|
return new GithubUpdater(HttpClient, JsonSerializer, cacheLength)
|
||||||
.CheckForUpdateResult("MediaBrowser", "Emby", ApplicationVersion, includePreRelease, excludeSuffixes.ToArray(), _releaseAssetFilename, "MBServer", "Mbserver.zip", cancellationToken).ConfigureAwait(false);
|
.CheckForUpdateResult("MediaBrowser", "Emby", ApplicationVersion, includePreRelease, excludeSuffixes.ToArray(), _releaseAssetFilename, "MBServer", "Mbserver.zip", cancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user