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

View file

@ -25,9 +25,16 @@ except:
hostname = socket.gethostname().split(".")[0] hostname = socket.gethostname().split(".")[0]
customtext += ", built on {}@{} at {}".format(uname, disclaimers = ""
hostname,
timestamp) 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 # Replace the target string
filedata = filedata.replace('with Cutthecord patches"', filedata = filedata.replace('with Cutthecord patches"',