Skip to content

Commit 67ce3b1

Browse files
committed
Enable updater for public builds
1 parent ca5eba2 commit 67ce3b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/controller/controller_updater.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ namespace Controller{
137137
/// Downloads the latest details on updates
138138
JSON::Value checkUpdateInfo(){
139139
JSON::Value ret;
140-
if (strlen(SHARED_SECRET) < 8){
140+
if (strlen(SHARED_SECRET) < 8 && std::string(RELEASE).substr(0, 4) != "Free"){
141141
Log("UPDR", "Self-compiled build. Updater disabled.");
142142
ret["uptodate"] = 1;
143143
ret["needs_update"].null();

0 commit comments

Comments
 (0)