branding: allow custom app names to be set directly through CI

CTC Litecord when?? CTC Litecord now!
This commit is contained in:
ave 2019-02-07 22:25:10 +03:00
parent ac00bfd725
commit 5a7d18c5a6
No known key found for this signature in database
GPG Key ID: 09356ABAA42C842B
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
This patch renames Discord app to Cutthecord.
You'll need to run "addpatch.py" with syntax of `python3 addpatch.py $in_patch_filename $branch_name` and use the `-custom.patch` version, or else it'll fail. You'll need to put a valid directory for storing hacky build counters to it.
You'll need to run "addpatch.py" with syntax of `python3 addpatch.py $in_patch_filename $app_name $branch_name` and use the `-custom.patch` version, or else it'll fail. You'll need to put a valid directory for storing hacky build counters to it.
Running customicon.sh (while on root of the extracted folder) will also change the icon to the debug icon:

View File

@ -27,9 +27,9 @@ def counterup(branch="base"):
with open(fname, 'r') as file:
filedata = file.read()
name = "CutTheCord"
name = sys.argv[2]
branch = sys.argv[2]
branch = sys.argv[3]
buildnum = str(counterup(branch))