update the updater
This commit is contained in:
parent
15ee918ac6
commit
7fcd14f4fb
|
@ -58,7 +58,7 @@ namespace MediaBrowser.Common.Updates
|
||||||
}
|
}
|
||||||
else if (updateLevel == PackageVersionClass.Beta)
|
else if (updateLevel == PackageVersionClass.Beta)
|
||||||
{
|
{
|
||||||
obj = obj.Where(i => !i.prerelease || i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase)).ToArray();
|
obj = obj.Where(i => i.prerelease && i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase)).ToArray();
|
||||||
}
|
}
|
||||||
else if (updateLevel == PackageVersionClass.Dev)
|
else if (updateLevel == PackageVersionClass.Dev)
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@ namespace MediaBrowser.Common.Updates
|
||||||
{
|
{
|
||||||
if (updateLevel == PackageVersionClass.Beta)
|
if (updateLevel == PackageVersionClass.Beta)
|
||||||
{
|
{
|
||||||
return !i.prerelease || i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase);
|
return i.prerelease && i.name.EndsWith("-beta", StringComparison.OrdinalIgnoreCase);
|
||||||
}
|
}
|
||||||
if (updateLevel == PackageVersionClass.Dev)
|
if (updateLevel == PackageVersionClass.Dev)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user