Skip to content

Commit 2c6c2c0

Browse files
Thulinmam1tk4
authored andcommitted
Enable updater for public builds
1 parent e0cd658 commit 2c6c2c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)