Drop more dependencies on /home/ave/

This commit is contained in:
ave 2020-05-25 03:19:19 +03:00
parent 1ef4aeca93
commit c9f6835a3a
Signed by untrusted user: a
GPG key ID: 398DD7BD03276F6D
4 changed files with 18 additions and 12 deletions

View file

@ -34,6 +34,8 @@ def patch(patch_file, workdir, patch_name=""):
if os.path.exists(WORK_APK_PATH):
shutil.rmtree(WORK_APK_PATH)
os.environ["DISTOK_EXTRACTED_DISCORD_PATH"] = WORK_APK_PATH
os.makedirs(WORK_FOLDER, exist_ok=True)
if LOCAL_STATE: