summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Models
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-25 20:41:52 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-25 20:41:52 -0400
commit230099692635a7ca53edfebf4ed9225b5b1d5779 (patch)
tree18fa5779bf02d6bf55a4a7cd7c594eec7da417fb /src/SMAPI/Framework/Models
parent469e0b8972bf79e5f22e5be4c1dcb8501cc37de4 (diff)
downloadSMAPI-230099692635a7ca53edfebf4ed9225b5b1d5779.tar.gz
SMAPI-230099692635a7ca53edfebf4ed9225b5b1d5779.tar.bz2
SMAPI-230099692635a7ca53edfebf4ed9225b5b1d5779.zip
simplify beta channel logic (#457)
Diffstat (limited to 'src/SMAPI/Framework/Models')
-rw-r--r--src/SMAPI/Framework/Models/SConfig.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Models/SConfig.cs b/src/SMAPI/Framework/Models/SConfig.cs
index b504f38b..be84a6b9 100644
--- a/src/SMAPI/Framework/Models/SConfig.cs
+++ b/src/SMAPI/Framework/Models/SConfig.cs
@@ -12,6 +12,9 @@ namespace StardewModdingAPI.Framework.Models
/// <summary>Whether to check for newer versions of SMAPI and mods on startup.</summary>
public bool CheckForUpdates { get; set; }
+ /// <summary>Whether to show beta versions as valid updates.</summary>
+ public bool UseBetaChannel { get; set; } = Constants.ApiVersion.Build != null;
+
/// <summary>SMAPI's GitHub project name, used to perform update checks.</summary>
public string GitHubProjectName { get; set; }