forked from distok/cutthecord
		
	branding: bug fixes
This commit is contained in:
		
							parent
							
								
									e57d1ff8ae
								
							
						
					
					
						commit
						bbd4d43990
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -45,7 +45,7 @@ diff -crB -x dist -x build com.discord-835-base/AndroidManifest.xml com.discord- | |||
|       <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> | ||||
|       <uses-feature android:name="android.hardware.faketouch" android:required="false"/> | ||||
| --- 1,4 ----
 | ||||
| ! <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" android:installLocation="auto" package="com.cutthecord.CTCBRANCH" platformBuildVersionCode="835CTCBUILD" platformBuildVersionName="8.3.5g-cutthecord">
 | ||||
| ! <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" android:installLocation="auto" package="com.cutthecord.CTCBRANCH" platformBuildVersionCode="835CTCBUILD" platformBuildVersionName="8.3.5g-cutthecord-CTCBUILD">
 | ||||
|       <uses-feature android:name="android.hardware.camera" android:required="false"/> | ||||
|       <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> | ||||
|       <uses-feature android:name="android.hardware.faketouch" android:required="false"/> | ||||
|  |  | |||
|  | @ -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 $space_splitted_patches` and use the `-custom.patch` version, or else it'll fail. | ||||
| You'll need to run "addpatch.py" with syntax of `python3 addpatch.py $in_patch_filename $space_splitted_patches` 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: | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ persistdir = "/home/ave/distokrepos/versionlogs/" | |||
| def counterup(): | ||||
|     # HACKY | ||||
|     cfname = persistdir + fname.split("/")[-1].replace(".patch", "") | ||||
|     if os.path.isfile(fname): | ||||
|     if os.path.isfile(cfname): | ||||
|         with open(cfname, 'r') as file: | ||||
|             countdata = file.read() | ||||
|     else: | ||||
|  | @ -27,7 +27,7 @@ def counterup(): | |||
| with open(fname, 'r') as file: | ||||
|     filedata = file.read() | ||||
| 
 | ||||
| buildnum = counterup() | ||||
| buildnum = str(counterup()) | ||||
| 
 | ||||
| name = "CutTheCord" | ||||
| branch = "base" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue