Browse Source

messages for non-free builds

pull/4/head
Adam Ierymenko 6 months ago
parent
commit
a4d762d404
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3
  1. 2
      make-mac.mk
  2. 2
      one.cpp

2
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:

2
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

Loading…
Cancel
Save