Check for beta updates even if not a beta
The site has been updated to not send beta update information unless user is enrolled in beta updates
This commit is contained in:
parent
15068552b5
commit
81c68c46b0
@ -808,7 +808,8 @@ bool Client::CheckUpdate(void *updateRequest, bool checkSession)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BETA
|
if (!updateAvailable)
|
||||||
|
{
|
||||||
Json::Value betaVersion = versions["Beta"];
|
Json::Value betaVersion = versions["Beta"];
|
||||||
int betaMajor = betaVersion["Major"].asInt();
|
int betaMajor = betaVersion["Major"].asInt();
|
||||||
int betaMinor = betaVersion["Minor"].asInt();
|
int betaMinor = betaVersion["Minor"].asInt();
|
||||||
@ -820,7 +821,7 @@ bool Client::CheckUpdate(void *updateRequest, bool checkSession)
|
|||||||
updateAvailable = true;
|
updateAvailable = true;
|
||||||
updateInfo = UpdateInfo(betaMajor, betaMinor, betaBuild, betaFile, betaChangelog, UpdateInfo::Beta);
|
updateInfo = UpdateInfo(betaMajor, betaMinor, betaBuild, betaFile, betaChangelog, UpdateInfo::Beta);
|
||||||
}
|
}
|
||||||
#endif
|
}
|
||||||
|
|
||||||
#ifdef SNAPSHOT
|
#ifdef SNAPSHOT
|
||||||
Json::Value snapshotVersion = versions["Snapshot"];
|
Json::Value snapshotVersion = versions["Snapshot"];
|
||||||
|
Reference in New Issue
Block a user