From a4d762d404068159621138d91922db3bf4e7f232 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 5 Sep 2025 15:39:47 -0400 Subject: [PATCH] messages for non-free builds --- make-mac.mk | 2 +- one.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/make-mac.mk b/make-mac.mk index 55b81c48d..e63fb7f88 100644 --- a/make-mac.mk +++ b/make-mac.mk @@ -200,7 +200,7 @@ mac-dist-pkg: FORCE official: FORCE cd ../DesktopUI ; make ZT_OFFICIAL_RELEASE=1 make clean - make ZT_OFFICIAL_RELEASE=1 -j 8 one + make ZT_OFFICIAL_RELEASE=1 -j 8 one ZT_NONFREE=1 make ZT_OFFICIAL_RELEASE=1 mac-dist-pkg _buildx: diff --git a/one.cpp b/one.cpp index a84e8d65d..0e2ac4cfa 100644 --- a/one.cpp +++ b/one.cpp @@ -103,7 +103,7 @@ static OneService* volatile zt1Service = (OneService*)0; #define COPYRIGHT_NOTICE "Copyright (c) ZeroTier, Inc." #ifdef ZT_NONFREE_CONTROLLER -#define LICENSE_GRANT "Licensed under a non-commercial source-available license (nonfree/LICENSE.md)." +#define LICENSE_GRANT ZT_EOL_S "Licensed under a Source-Available License for Non-Commercial" ZT_EOL_S "Use (nonfree/LICENSE.md). Use of this build for Commercial Use" ZT_EOL_S "requires a paid subscription plan or a commercial license" ZT_EOL_S "agreement with ZeroTier, Inc. Visit https://www.zerotier.com for" ZT_EOL_S "more information." #else #define LICENSE_GRANT "Licensed under Mozilla Public License v2.0 (LICENSE-MPL.txt)." #endif