tweak smapi.io logic to allow hidden non-old downloads
This commit is contained in:
parent
9127b37a9b
commit
e6e15bef1c
|
@ -141,7 +141,7 @@ namespace StardewModdingAPI.Web.Controllers
|
||||||
|
|
||||||
foreach (GitAsset asset in release.Assets)
|
foreach (GitAsset asset in release.Assets)
|
||||||
{
|
{
|
||||||
if (asset.FileName.StartsWith("Z_OLD"))
|
if (asset.FileName.StartsWith("Z_"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Match match = Regex.Match(asset.FileName, @"SMAPI-(?<version>[\d\.]+(?:-.+)?)-installer(?<forDevs>-for-developers)?.zip");
|
Match match = Regex.Match(asset.FileName, @"SMAPI-(?<version>[\d\.]+(?:-.+)?)-installer(?<forDevs>-for-developers)?.zip");
|
||||||
|
|
Loading…
Reference in New Issue