From 2c6c2c09eabf8534ca859d5ea2bce3eb16f43e0c 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 8075b8660..fcce7b62b 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();