customversion: add mutant standard disclaimer
This commit is contained in:
parent
3f97a21677
commit
8c2ba2b052
1 changed files with 10 additions and 3 deletions
|
@ -25,9 +25,16 @@ except:
|
||||||
|
|
||||||
hostname = socket.gethostname().split(".")[0]
|
hostname = socket.gethostname().split(".")[0]
|
||||||
|
|
||||||
customtext += ", built on {}@{} at {}".format(uname,
|
disclaimers = ""
|
||||||
|
|
||||||
|
if "mutant" in sys.argv:
|
||||||
|
disclaimers += " | This build uses Mutant Standard"\
|
||||||
|
" emoji (https://mutant.tech)."
|
||||||
|
|
||||||
|
customtext += ", built on {}@{} at {}{}".format(uname,
|
||||||
hostname,
|
hostname,
|
||||||
timestamp)
|
timestamp,
|
||||||
|
disclaimers)
|
||||||
|
|
||||||
# Replace the target string
|
# Replace the target string
|
||||||
filedata = filedata.replace('with Cutthecord patches"',
|
filedata = filedata.replace('with Cutthecord patches"',
|
||||||
|
|
Reference in a new issue