Bunch of text changes + default to apksigner

This commit is contained in:
ave 2019-11-26 21:47:28 +03:00
parent c3e1a54ff9
commit 50b3f050c4
No known key found for this signature in database
GPG Key ID: 09356ABAA42C842B
5 changed files with 8 additions and 5 deletions

View File

@ -4,6 +4,7 @@
- Get apktool (due to 2 bugs present in v2.3.4, you're strongly recommended to use v2.4.0 or higher, I compile latest from source).
- Get a keystore, see [here](https://stackoverflow.com/a/14994354/3286892), step 1.
- Get apksigner, it's part of android build tools.
- If you want Mutant Standard emoji patches, get 72x72 PNG copies of latest version of mutant standard emojis with codepoints. I have a zip [here](https://mutant.lavatech.top/72x72.zip).
- If you want Blob emoji patches, get 72x72 PNG copies of blobmojis with codepoints. I personally resized the png/128 folder in this [repo](https://github.com/C1710/blobmoji) (`find /home/ave/blobmoji/png/72 -iname '*.png' -exec convert \{\} -verbose -resize 72x72\> \{\} \;`).
- Extract the emojis you got somewhere.

View File

@ -24,7 +24,7 @@ DO_GITPULL = True
REPO_FOLDER = "/home/ave/distokrepos/cutthecord"
# If false, jarsigner will be used for signing the apk.
DO_APKSIGNER = False
DO_APKSIGNER = True
# Keystore file, alias and pass. Required.
KEYSTORE_FILE = "/home/ave/oof.keystore"

View File

@ -74,6 +74,8 @@ Video demonstration: https://www.youtube.com/watch?v=NMRPsAgqtWQ
![Pure evil setting](https://elixi.re/i/f1e7t1y0.png)
- **supplemental**: Adds some helper functions needed by certain patches.
- **slashcommands**: Adds a lot of slash commands (all the decent ones on desktop and more), alongside some other useful features such as an account switcher. Also allows enabling or disabling a couple patches such as `channelleak` (shows all channel names and topics, even those you lack the permissions to read) or `notyping` (disables sending typing event to discord servers). I'm quite proud of this patch :p [Read its own README.md for more information](slashcommands/README.md).
![account switching on cutthecord](https://wildcard.elixi.re/i/di6aq1l6.png)

View File

@ -2,6 +2,8 @@
This patch adds a message intercept feature with minimal changes to the original code, and adds slash commands.
This patch relies on supplemental, so please use that patch too.
The following slash commands are supported:
- /upper -> Makes text uppercase
- /lower -> Makes text lowercase
@ -10,9 +12,6 @@ The following slash commands are supported:
- /spoilerimg -> Prepends SPOILER_ to names of all images attached to the message that starts with this, causing them to get marked as spoiler.
- /me -> Display text with emphasis (same as Discord Desktop)
- /st -> Puts a strikethrough the message
- /shrug -> Appends ¯\\_(ツ)_/¯ to your message (same as Discord Desktop)
- /tableflip -> Appends (╯°□°)╯︵ ┻━┻ to your message (same as Discord Desktop)
- /unflip -> Appends ┬─┬ ( ゜-゜ノ) to your message (same as Discord Desktop)
- /lenny -> Appends ( ͡° ͜ʖ ͡°) to your message
- /owo -> Myakes tyext reawwy owo-ly, nya :3
@ -36,6 +35,7 @@ Commands like fw can be generated by `textreplacegen.py` or `textreplacegen-arra
## Known bugs
- There's no help.
- The slashcommands do not show when putting a slash (which was added in I think 9.7.2).
- Output from /ctc commands doesn't get properly displayed if enter is not pressed using a physical keyboard (usb or bluetooth). This is bizarre and oh god please help me solve this bug.
#### Available and tested on:

View File

@ -4,7 +4,7 @@ This patch allows you to login with just a token.
On login screen, set email to anything that starts with `tokenlogin`, such as `tokenlogin@example.com`. Set password to token, press login. Close app, restart it, and you'll automatically get logged in with that token.
This patch relies on some stuff I added with slashcommands, so please use that patch in too.
This patch relies on supplemental, so please use that patch too.
#### Available and tested on:
- 9.0.3