summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-03-28 13:45:25 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-13 15:27:48 -0400
commit4b9afa4ca3622d96bcd090674512846f71ec6c4a (patch)
tree9336efda141c4edb6c7931d80c12bd2e99e5e57b
parent20912724a0dc61562ea00e12e9bbc472c93e6aa4 (diff)
downloadSMAPI-4b9afa4ca3622d96bcd090674512846f71ec6c4a.tar.gz
SMAPI-4b9afa4ca3622d96bcd090674512846f71ec6c4a.tar.bz2
SMAPI-4b9afa4ca3622d96bcd090674512846f71ec6c4a.zip
tweak smapi.io logic to allow hidden non-old downloads
-rw-r--r--src/SMAPI.Web/Controllers/IndexController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Controllers/IndexController.cs b/src/SMAPI.Web/Controllers/IndexController.cs
index ea1a52b2..4e3602d5 100644
--- a/src/SMAPI.Web/Controllers/IndexController.cs
+++ b/src/SMAPI.Web/Controllers/IndexController.cs
@@ -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");