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 os
|
||||||
import sys
|
import sys
|
||||||
import shutil
|
import shutil
|
||||||
import requests
|
|
||||||
import json
|
import json
|
||||||
import subprocess
|
import subprocess
|
||||||
from ctcconfig import *
|
from ctcconfig import *
|
||||||
|
@ -39,7 +38,8 @@ os.environ["DISTOK_EXTRACTED_DISCORD_PATH"] = WORK_APK_PATH
|
||||||
os.makedirs(WORK_FOLDER, exist_ok=True)
|
os.makedirs(WORK_FOLDER, exist_ok=True)
|
||||||
|
|
||||||
with open(os.path.join(REPO_FOLDER, "patchport-state.json")) as f:
|
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}")
|
BASE_APK_PATH = os.path.join(WORK_FOLDER, f"discord-base-{VERSION}")
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
requests
|
|
Loading…
Reference in a new issue