mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 16:17:40 +00:00
added Twitter Pico
- Remove rufusin patch because pj merged with anddea - Improve ci function
This commit is contained in:
34
src/build/Piko.sh
Normal file
34
src/build/Piko.sh
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
# Twitter Piko
|
||||
source src/build/utils.sh
|
||||
|
||||
# Patch Twitter Piko:
|
||||
patch_piko () {
|
||||
get_apk "twitter" "twitter" "x-corp/twitter/twitter"
|
||||
dl_gh "revanced-patches revanced-cli" "revanced" "latest"
|
||||
mv revanced-patches*.jar _revanced-patches*.jar
|
||||
local v apk_name
|
||||
if [[ "$1" == "latest" ]]; then
|
||||
v="latest" apk_name="stable"
|
||||
else
|
||||
v="prerelease" apk_name="beta"
|
||||
fi
|
||||
get_patches_key "twitter-pico"
|
||||
if [ -f "./download/twitter.apk" ]; then
|
||||
dl_gh "piko revanced-integrations" "crimera" "$v"
|
||||
green_log "[+] Patch Twitter Pico:"
|
||||
eval java -jar revanced-cli*.jar patch \
|
||||
--patch-bundle _revanced-patches*.jar \
|
||||
--patch-bundle revanced-patches*.jar \
|
||||
--merge revanced-integrations*.apk \
|
||||
$excludePatches\
|
||||
$includePatches \
|
||||
--out=./release/twitter-piko-$apk_name.apk \
|
||||
--keystore=./src/ks.keystore \
|
||||
./download/twitter.apk
|
||||
else
|
||||
red_log "[-] Not found Twitter.apk"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
patch_piko $1
|
||||
Reference in New Issue
Block a user