summaryrefslogtreecommitdiff
path: root/branding/scripts
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-10-10 16:33:42 -0600
committerKali Kaneko (leap communications) <kali@leap.se>2019-10-11 16:05:47 -0600
commita8e1ad2617c36a493b317c81e96f7c1bdcc1cd29 (patch)
tree0ef81ccc9f218f01fd85cf429d407f4c8db0b3f7 /branding/scripts
parent267b606e7dfcc9af3b2f0c2bd75f4517fdaac7f7 (diff)
[feat] donate menuitem is configurable
Diffstat (limited to 'branding/scripts')
-rw-r--r--branding/scripts/provider.py3
-rwxr-xr-xbranding/scripts/vendorize.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/branding/scripts/provider.py b/branding/scripts/provider.py
index 867007e..7455556 100644
--- a/branding/scripts/provider.py
+++ b/branding/scripts/provider.py
@@ -20,7 +20,8 @@ def getProviderData(provider, config):
keys = ('name', 'applicationName', 'binaryName',
'providerURL', 'tosURL', 'helpURL',
- 'donateURL', 'apiURL', 'geolocationAPI', 'caCertString')
+ 'askForDonations', 'donateURL', 'apiURL',
+ 'geolocationAPI', 'caCertString')
for value in keys:
d[value] = c.get(value)
diff --git a/branding/scripts/vendorize.py b/branding/scripts/vendorize.py
index 59edae0..ba248b0 100755
--- a/branding/scripts/vendorize.py
+++ b/branding/scripts/vendorize.py
@@ -10,7 +10,7 @@ from provider import getDefaultProvider
from provider import getProviderData
OUTFILE = 'config.go'
-INFILE = '../templates/golang/config.go'
+INFILE = '../templates/bitmaskvpn/config.go'
CONFIGFILE = '../config/vendor.conf'
SCRIPT_NAME = 'vendorize'