Skip to content

Commit

Permalink
Enable updater for public builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Thulinma authored and m1tk4 committed Jun 15, 2024
1 parent e0cd658 commit 2c6c2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/controller_updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ namespace Controller{
/// Downloads the latest details on updates
JSON::Value checkUpdateInfo(){
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.");
ret["uptodate"] = 1;
ret["needs_update"].null();
Expand Down

0 comments on commit 2c6c2c0

Please sign in to comment.