Update feed type is now determined by application setting.
This commit is contained in:
parent
4a4e189e5f
commit
6f5e062aa9
1 changed files with 7 additions and 1 deletions
|
|
@ -270,8 +270,14 @@ namespace MatterHackers.MatterControl.VersionManagement
|
|||
{
|
||||
public RequestLatestVersion()
|
||||
{
|
||||
string feedType = ApplicationSettings.Instance.get("UpdateFeedType");
|
||||
if (feedType == null)
|
||||
{
|
||||
feedType = "release";
|
||||
ApplicationSettings.Instance.set("UpdateFeedType", feedType);
|
||||
}
|
||||
requestValues["ProjectToken"] = VersionInfo.Instance.ProjectToken;
|
||||
requestValues["FeedType"] = "pre-release";
|
||||
requestValues["FeedType"] = feedType;
|
||||
uri = "https://mattercontrol.appspot.com/api/1/get-current-release-version";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue