From 67ce3b1a170d2238732fcd21566aa27f8ddd7105 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 20 Dec 2023 11:23:49 +0100 Subject: [PATCH] Enable updater for public builds --- src/controller/controller_updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/controller_updater.cpp b/src/controller/controller_updater.cpp index 8075b866..fcce7b62 100644 --- a/src/controller/controller_updater.cpp +++ b/src/controller/controller_updater.cpp @@ -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();