From 73cba5f94d3db2474c3bb3607565d06ecfad9726 Mon Sep 17 00:00:00 2001 From: Ave Date: Tue, 15 Dec 2020 18:09:44 +0300 Subject: [PATCH] Update building to clarify how to force old versions Closes #95 --- BUILDING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index c9f0cf0..5c92a3d 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -23,7 +23,7 @@ CTCCI requires python3.6+, and also likely requires Linux (I haven't tried it on - Follow the "Toolchain setup" steps above in case you haven't already. - Install dependencies (`python3 -m pip install -Ur requirements.txt`) - Copy `ctcci/ctcconfig.example.py` to `ctcci/ctcconfig.py` and configure contents to your local data and your personal preferences. -- If you don't want to always automatically be required to use the latest discord version, set `LOCAL_STATE` to `True` and point `STATE_FILE` to a `state.json` file that looks like this: `{"android": {"com.discord": {"version": 909}}}`. +- If you don't want to always automatically be required to use the latest discord version, edit the `$REPO_FOLDER/patchport-state.json` file. - Set up a local distok-style file storage for your APKs, and copy your APKs on it, and name them properly (the format is `$DISTOK_FOLDER/android/$PACKAGE_ID-$VERSION_NUMBER.apk`, example: `/home/ave/distok/android/com.discord-909.apk`). #### Environment Variables