Enable updater for public builds
This commit is contained in:
parent
ca5eba2e92
commit
67ce3b1a17
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ namespace Controller{
|
||||||
/// Downloads the latest details on updates
|
/// Downloads the latest details on updates
|
||||||
JSON::Value checkUpdateInfo(){
|
JSON::Value checkUpdateInfo(){
|
||||||
JSON::Value ret;
|
JSON::Value ret;
|
||||||
if (strlen(SHARED_SECRET) < 8){
|
if (strlen(SHARED_SECRET) < 8 && std::string(RELEASE).substr(0, 4) != "Free"){
|
||||||
Log("UPDR", "Self-compiled build. Updater disabled.");
|
Log("UPDR", "Self-compiled build. Updater disabled.");
|
||||||
ret["uptodate"] = 1;
|
ret["uptodate"] = 1;
|
||||||
ret["needs_update"].null();
|
ret["needs_update"].null();
|
||||||
|
|
Loading…
Add table
Reference in a new issue