customversion: add mutant standard disclaimer

This commit is contained in:
ave 2019-01-23 02:44:18 +03:00
parent 3f97a21677
commit 8c2ba2b052
No known key found for this signature in database
GPG Key ID: 09356ABAA42C842B
1 changed files with 10 additions and 3 deletions

View File

@ -25,9 +25,16 @@ except:
hostname = socket.gethostname().split(".")[0]
customtext += ", built on {}@{} at {}".format(uname,
hostname,
timestamp)
disclaimers = ""
if "mutant" in sys.argv:
disclaimers += " | This build uses Mutant Standard"\
" emoji (https://mutant.tech)."
customtext += ", built on {}@{} at {}{}".format(uname,
hostname,
timestamp,
disclaimers)
# Replace the target string
filedata = filedata.replace('with Cutthecord patches"',