forked from distok/cutthecord
		
	necessary/notrack/ctcci: Move things so that patches need minimal
intervention with the latest changes to clear up space for us
This commit is contained in:
		
							parent
							
								
									5569efefa0
								
							
						
					
					
						commit
						08986e926c
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -205,6 +205,8 @@ for patch_name in PATCHES:
 | 
				
			||||||
                                         "font", font))
 | 
					                                         "font", font))
 | 
				
			||||||
    # Apply any other patches
 | 
					    # Apply any other patches
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
 | 
					        patch(patch_file, WORK_APK_PATH, patch_name)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        patch_script = os.path.join(REPO_FOLDER, "patches",
 | 
					        patch_script = os.path.join(REPO_FOLDER, "patches",
 | 
				
			||||||
                                    patch_name, f"{VERSION}.sh")
 | 
					                                    patch_name, f"{VERSION}.sh")
 | 
				
			||||||
        if os.path.exists(patch_script):
 | 
					        if os.path.exists(patch_script):
 | 
				
			||||||
| 
						 | 
					@ -212,8 +214,6 @@ for patch_name in PATCHES:
 | 
				
			||||||
                           shell=True,
 | 
					                           shell=True,
 | 
				
			||||||
                           cwd=WORK_APK_PATH)
 | 
					                           cwd=WORK_APK_PATH)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        patch(patch_file, WORK_APK_PATH, patch_name)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Pack the APK
 | 
					# Pack the APK
 | 
				
			||||||
subprocess.run(f"{APKTOOL_BIN} b discord",
 | 
					subprocess.run(f"{APKTOOL_BIN} b discord",
 | 
				
			||||||
               shell=True,
 | 
					               shell=True,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue