forked from distok/cutthecord
		
	ctcci: hotfix
This commit is contained in:
		
							parent
							
								
									30c8b07077
								
							
						
					
					
						commit
						b21564104e
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,6 @@
 | 
			
		|||
import os
 | 
			
		||||
import sys
 | 
			
		||||
import shutil
 | 
			
		||||
import requests
 | 
			
		||||
import json
 | 
			
		||||
import subprocess
 | 
			
		||||
from ctcconfig import *
 | 
			
		||||
| 
						 | 
				
			
			@ -39,7 +38,8 @@ os.environ["DISTOK_EXTRACTED_DISCORD_PATH"] = WORK_APK_PATH
 | 
			
		|||
os.makedirs(WORK_FOLDER, exist_ok=True)
 | 
			
		||||
 | 
			
		||||
with open(os.path.join(REPO_FOLDER, "patchport-state.json")) as f:
 | 
			
		||||
    VERSION = f["versioncode"]
 | 
			
		||||
    STATE = json.load(f)
 | 
			
		||||
    VERSION = STATE["versioncode"]
 | 
			
		||||
 | 
			
		||||
BASE_APK_PATH = os.path.join(WORK_FOLDER, f"discord-base-{VERSION}")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
requests
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue