mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
added Telegram
and fix some bugs
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -69,6 +69,10 @@ jobs:
|
||||
id: check-BiliRoamingM
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/etc/ci.sh sakarie9/BiliRoamingM latest bilibili-BiliRoamingM.apk
|
||||
- name: Check new patch Revanced Experiments
|
||||
id: check-Revanced-Experiments
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/etc/ci.sh Aunali321/ReVancedExperiments latest telegram-revanced-experiments.apk
|
||||
- name: Keep workflow run
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: gautamkrishnar/keepalive-workflow@v1
|
||||
@@ -108,6 +112,7 @@ jobs:
|
||||
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
||||
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
|
||||
check_BiliRoamingM: ${{ steps.check-BiliRoamingM.outputs.new_patch }}
|
||||
check_Revanced_Experiments: ${{ steps.check-Revanced-Experiments.outputs.new_patch }}
|
||||
|
||||
Patch-Revanced:
|
||||
name: Patch Revanced Stable
|
||||
@@ -193,3 +198,10 @@ jobs:
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "BiliRoamingM"
|
||||
Patch-Revanced-Experiments:
|
||||
name: Patch Revanced Experiments
|
||||
needs: check
|
||||
if: ${{ needs.check.outputs.check_Revanced_Experiments == 1 }}
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "Revanced Experiments"
|
||||
|
||||
21
.github/workflows/manual-patch.yml
vendored
21
.github/workflows/manual-patch.yml
vendored
@@ -27,6 +27,7 @@ on:
|
||||
- 'Revanced Extended Android 5'
|
||||
- 'BiliRoamingM'
|
||||
- 'Dropped Patches - indrastorms'
|
||||
- 'Revanced Experiments'
|
||||
workflow_call:
|
||||
inputs:
|
||||
org:
|
||||
@@ -311,3 +312,23 @@ jobs:
|
||||
id: release-Dropped-Patches-indrastorms
|
||||
if: steps.check-gh-Dropped-Patches-indrastorms.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
patch_rv_experiments:
|
||||
name: Patch Revanced Experiments
|
||||
if: ${{ github.event.inputs.org == 'Revanced Experiments' || inputs.org == 'Revanced Experiments' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Check github connection
|
||||
id: check-gh-rv-experiments
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Patch apk
|
||||
id: patch-rv-experiments
|
||||
if: steps.check-gh-rv-experiments.outputs.internet_error == '0'
|
||||
run: bash src/build/Revanced-Experiment.sh
|
||||
- name: Releasing APK files
|
||||
id: release-rv-experiments
|
||||
if: steps.check-gh-rv-experiments.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
17
README.md
17
README.md
@@ -214,6 +214,14 @@ Download
|
||||
|
||||
---
|
||||
|
||||
[](https://play.google.com/store/apps/details?id=org.telegram.messenger)
|
||||
|
||||
### [Revanced Experiments:](https://github.com/Aunali321/ReVancedExperiments)
|
||||
|
||||
[Arm64-v8a](../../releases/download/all/telegram-revanced-experiments.apk)
|
||||
|
||||
---
|
||||
|
||||
[](https://play.google.com/store/apps/details?id=com.ss.android.ugc.trill)
|
||||
|
||||
### Revanced:
|
||||
@@ -406,9 +414,16 @@ Download
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Aunali321</summary>
|
||||
|
||||
[Patches](https://github.com/Aunali321/ReVancedExperiments) - [GPL-3.0](https://github.com/Aunali321/ReVancedExperiments/blob/main/LICENSE)
|
||||
|
||||
</details>
|
||||
|
||||
[Markdown Badges](https://github.com/Ileriayo/markdown-badges) - [MIT](https://github.com/Ileriayo/markdown-badges/blob/master/LICENSE)
|
||||
|
||||
[HTMLQ](https://github.com/mgdm/htmlq) - [MIT](https://github.com/mgdm/htmlq/blob/master/LICENSE.md)
|
||||
[pup](https://github.com/ericchiang/pup) - [MIT](https://github.com/ericchiang/pup/blob/master/LICENSE)
|
||||
|
||||
[APKEditor](https://github.com/REAndroid/APKEditor) - [Apache-2.0](https://github.com/REAndroid/APKEditor/blob/master/LICENSE)
|
||||
|
||||
|
||||
@@ -5,8 +5,9 @@ source ./src/build/utils.sh
|
||||
#################################################
|
||||
|
||||
# Download requirements
|
||||
dl_gh "Dropped-Patches" "indrastorms" "latest"
|
||||
dl_gh "revanced-cli" "revanced" "latest"
|
||||
dl_gh "Dropped-Patches" "indrastorms" "v1.4.2"
|
||||
dl_gh "revanced-integrations" "revanced" "v1.8.0"
|
||||
dl_gh "revanced-cli" "revanced" "v4.6.0"
|
||||
|
||||
#################################################
|
||||
|
||||
|
||||
@@ -35,13 +35,13 @@ revanced_dl(){
|
||||
# Patch Messenger:
|
||||
# Arm64-v8a
|
||||
get_patches_key "messenger"
|
||||
version="latest"
|
||||
lock_version="1"
|
||||
get_apk "com.facebook.orca" "messenger-arm64-v8a-beta" "messenger" "facebook-2/messenger/messenger" "arm64-v8a" "nodpi"
|
||||
patch "messenger-arm64-v8a-beta" "revanced"
|
||||
# Patch Facebook:
|
||||
# Arm64-v8a
|
||||
get_patches_key "facebook"
|
||||
version="485.0.0.70.77"
|
||||
lock_version="1"
|
||||
get_apk "com.facebook.katana" "facebook-arm64-v8a-beta" "facebook" "facebook-2/facebook/facebook" "arm64-v8a" "nodpi" "Android 11+"
|
||||
patch "facebook-arm64-v8a-beta" "revanced"
|
||||
}
|
||||
|
||||
16
src/build/Revanced-Experiment.sh
Normal file
16
src/build/Revanced-Experiment.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# ReVanced Experiments build
|
||||
source src/build/utils.sh
|
||||
|
||||
#################################################
|
||||
|
||||
# Download requirements
|
||||
dl_gh "ReVancedExperiments" "Aunali321" "latest"
|
||||
dl_gh "revanced-cli" "revanced" "latest"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch Telegram:
|
||||
get_patches_key "telegram-revanced-experiments"
|
||||
get_apk "org.telegram.messenger" "telegram" "telegram" "telegram-fz-llc/telegram/telegram" "arm64-v8a" "nodpi"
|
||||
patch "telegram" "revanced-experiments"
|
||||
@@ -11,7 +11,7 @@ dl_gh "revanced-patches-arsclib revanced-integrations revanced-cli-arsclib" "ino
|
||||
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit-rve"
|
||||
version="latest"
|
||||
lock_version="1"
|
||||
get_apk "com.reddit.frontpage" "reddit" "reddit" "redditinc/reddit/reddit" "Bundle"
|
||||
patch "reddit" "revanced-extended"
|
||||
mv ./release/reddit-revanced-extended.apk/base.apk ./reddit-revanced-extended.apk
|
||||
|
||||
@@ -34,13 +34,13 @@ revanced_dl(){
|
||||
# Patch Messenger:
|
||||
# Arm64-v8a
|
||||
get_patches_key "messenger"
|
||||
version="latest"
|
||||
lock_version="1"
|
||||
get_apk "com.facebook.orca" "messenger-arm64-v8a" "messenger" "facebook-2/messenger/messenger" "arm64-v8a" "nodpi"
|
||||
patch "messenger-arm64-v8a" "revanced"
|
||||
# Patch Facebook:
|
||||
# Arm64-v8a
|
||||
get_patches_key "facebook"
|
||||
version="485.0.0.70.77"
|
||||
lock_version="1"
|
||||
get_apk "com.facebook.katana" "facebook-arm64-v8a" "facebook" "facebook-2/facebook/facebook" "arm64-v8a" "nodpi" "Android 11+"
|
||||
patch "facebook-arm64-v8a" "revanced"
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ get_apk() {
|
||||
*) url_regexp='$5'"[^@]*$7"''"[^@]*$6"'</div>[^@]*@\([^"]*\)' ;;
|
||||
esac
|
||||
fi
|
||||
if [ -z "$version" ] && [ "$version" != "latest" ]; then
|
||||
if [ -z "$version" ] && [ "$lock_version" != "1" ]; then
|
||||
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
|
||||
num=${BASH_REMATCH[1]}
|
||||
if [ $num -ge 5 ]; then
|
||||
@@ -257,6 +257,7 @@ patch() {
|
||||
unset GITHUB_REPOSITORY
|
||||
eval java -jar *cli*.jar $p$b $m$opt --out=./release/$1-$2.apk$excludePatches$includePatches --keystore=./src/$ks.keystore $pu $a./download/$1.apk
|
||||
unset version
|
||||
unset lock_version
|
||||
unset excludePatches
|
||||
unset includePatches
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user