tweak smapi.io logic to allow hidden non-old downloads

This commit is contained in:
Jesse Plamondon-Willard 2019-03-28 13:45:25 -04:00
parent 9127b37a9b
commit e6e15bef1c
No known key found for this signature in database
GPG Key ID: 7D7C8097B62033CE
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ namespace StardewModdingAPI.Web.Controllers
foreach (GitAsset asset in release.Assets)
{
if (asset.FileName.StartsWith("Z_OLD"))
if (asset.FileName.StartsWith("Z_"))
continue;
Match match = Regex.Match(asset.FileName, @"SMAPI-(?<version>[\d\.]+(?:-.+)?)-installer(?<forDevs>-for-developers)?.zip");