From 50b3f050c4b42c00d31e9fd125ea29a0a7e6d413 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Tue, 26 Nov 2019 21:47:28 +0300 Subject: [PATCH] Bunch of text changes + default to apksigner --- BUILDING.md | 1 + ctcci/ctcconfig.example.py | 2 +- patches/README.md | 2 ++ patches/slashcommands/README.md | 6 +++--- patches/tokenlogin/README.md | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 80a7dea..984ffb2 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -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. diff --git a/ctcci/ctcconfig.example.py b/ctcci/ctcconfig.example.py index 2350f5a..ad03c0f 100644 --- a/ctcci/ctcconfig.example.py +++ b/ctcci/ctcconfig.example.py @@ -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" diff --git a/patches/README.md b/patches/README.md index dd44af5..3ed64a6 100644 --- a/patches/README.md +++ b/patches/README.md @@ -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) diff --git a/patches/slashcommands/README.md b/patches/slashcommands/README.md index 2a770f7..af98461 100644 --- a/patches/slashcommands/README.md +++ b/patches/slashcommands/README.md @@ -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: diff --git a/patches/tokenlogin/README.md b/patches/tokenlogin/README.md index 8fac2c5..073d7f7 100644 --- a/patches/tokenlogin/README.md +++ b/patches/tokenlogin/README.md @@ -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