mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update cards
This commit is contained in:
parent
2bdaba633c
commit
f5c4fd7690
@ -142,9 +142,15 @@ namespace MediaBrowser.Common.Implementations.Security
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != LicenseFile.RegKey)
|
||||
var newValue = value;
|
||||
if (newValue != null)
|
||||
{
|
||||
LicenseFile.RegKey = value;
|
||||
newValue = newValue.Trim();
|
||||
}
|
||||
|
||||
if (newValue != LicenseFile.RegKey)
|
||||
{
|
||||
LicenseFile.RegKey = newValue;
|
||||
LicenseFile.Save();
|
||||
|
||||
// re-load registration info
|
||||
|
@ -57,7 +57,7 @@ namespace MediaBrowser.Server.Startup.Common.Migrations
|
||||
|
||||
private async Task CheckVersion(Version currentVersion, PackageVersionClass updateLevel, CancellationToken cancellationToken)
|
||||
{
|
||||
var releases = await new GithubUpdater(_httpClient, _jsonSerializer, TimeSpan.FromMinutes(5))
|
||||
var releases = await new GithubUpdater(_httpClient, _jsonSerializer, TimeSpan.FromMinutes(3))
|
||||
.GetLatestReleases("MediaBrowser", "Emby", _releaseAssetFilename, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
var newUpdateLevel = updateLevel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user