mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
fix bug + added beta rve
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -49,6 +49,10 @@ jobs:
|
|||||||
id: check-rve
|
id: check-rve
|
||||||
if: steps.check-gh.outputs.internet_error == '0'
|
if: steps.check-gh.outputs.internet_error == '0'
|
||||||
run: bash src/etc/ci.sh inotia00/revanced-patches latest youtube-revanced-extended.apk
|
run: bash src/etc/ci.sh inotia00/revanced-patches latest youtube-revanced-extended.apk
|
||||||
|
- name: Check new patch Revanced Extended Beta
|
||||||
|
id: check-rve-beta
|
||||||
|
if: steps.check-gh.outputs.internet_error == '0'
|
||||||
|
run: bash src/etc/ci.sh inotia00/revanced-patches prerelease youtube-revanced-beta-extended.apk
|
||||||
- name: Check new patch Twitter Piko Stable
|
- name: Check new patch Twitter Piko Stable
|
||||||
id: check-twitter-piko-stable
|
id: check-twitter-piko-stable
|
||||||
if: steps.check-gh.outputs.internet_error == '0'
|
if: steps.check-gh.outputs.internet_error == '0'
|
||||||
@@ -99,6 +103,7 @@ jobs:
|
|||||||
check_rve_anddea_beta: ${{ steps.check-rve-anddea-beta.outputs.new_patch }}
|
check_rve_anddea_beta: ${{ steps.check-rve-anddea-beta.outputs.new_patch }}
|
||||||
check_rve_rufusin: ${{ steps.check-rve-rufusin.outputs.new_patch }}
|
check_rve_rufusin: ${{ steps.check-rve-rufusin.outputs.new_patch }}
|
||||||
check_rve: ${{ steps.check-rve.outputs.new_patch }}
|
check_rve: ${{ steps.check-rve.outputs.new_patch }}
|
||||||
|
check_rve_beta: ${{ steps.check-rve-beta.outputs.new_patch }}
|
||||||
check_twitter_piko_stable: ${{ steps.check-twitter-piko-stable.outputs.new_patch }}
|
check_twitter_piko_stable: ${{ steps.check-twitter-piko-stable.outputs.new_patch }}
|
||||||
check_twitter_piko_beta: ${{ steps.check-twitter-piko-beta.outputs.new_patch }}
|
check_twitter_piko_beta: ${{ steps.check-twitter-piko-beta.outputs.new_patch }}
|
||||||
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
||||||
@@ -153,6 +158,13 @@ jobs:
|
|||||||
uses: ./.github/workflows/manual-patch.yml
|
uses: ./.github/workflows/manual-patch.yml
|
||||||
with:
|
with:
|
||||||
org: "Revanced Extended"
|
org: "Revanced Extended"
|
||||||
|
Patch-Revanced-Extended-Beta:
|
||||||
|
name: Patch Revanced Extended Beta
|
||||||
|
needs: check
|
||||||
|
if: ${{ needs.check.outputs.check_rve_beta == 1 }}
|
||||||
|
uses: ./.github/workflows/manual-patch.yml
|
||||||
|
with:
|
||||||
|
org: "Revanced Extended Beta"
|
||||||
Patch-Twitter-Piko-Stable:
|
Patch-Twitter-Piko-Stable:
|
||||||
name: Patch Twitter Piko Stable
|
name: Patch Twitter Piko Stable
|
||||||
needs: check
|
needs: check
|
||||||
|
|||||||
26
.github/workflows/manual-patch.yml
vendored
26
.github/workflows/manual-patch.yml
vendored
@@ -19,11 +19,12 @@ on:
|
|||||||
- 'All'
|
- 'All'
|
||||||
- 'Revanced'
|
- 'Revanced'
|
||||||
- 'Revanced Beta'
|
- 'Revanced Beta'
|
||||||
|
- 'Revanced Extended'
|
||||||
|
- 'Revanced Extended Beta'
|
||||||
- 'ReX'
|
- 'ReX'
|
||||||
- 'RVE-anddea-stable'
|
- 'RVE-anddea-stable'
|
||||||
- 'RVE-anddea-beta'
|
- 'RVE-anddea-beta'
|
||||||
- 'RVE-rufusin'
|
- 'RVE-rufusin'
|
||||||
- 'Revanced Extended'
|
|
||||||
- 'Twitter Piko Stable'
|
- 'Twitter Piko Stable'
|
||||||
- 'Twitter Piko Beta'
|
- 'Twitter Piko Beta'
|
||||||
- 'Revanced Extended Android 6,7'
|
- 'Revanced Extended Android 6,7'
|
||||||
@@ -217,6 +218,29 @@ jobs:
|
|||||||
- name: Re-run workflow if github connection not stable
|
- name: Re-run workflow if github connection not stable
|
||||||
if: always() && steps.patch-rve.outcome == 'skipped' || steps.release-rve.outcome == 'skipped' && env.retry_count < env.max_retries
|
if: always() && steps.patch-rve.outcome == 'skipped' || steps.release-rve.outcome == 'skipped' && env.retry_count < env.max_retries
|
||||||
uses: ./.github/actions/re-run
|
uses: ./.github/actions/re-run
|
||||||
|
patch_rve_beta:
|
||||||
|
name: Patch Revanced Extended Beta
|
||||||
|
if: ${{ github.event.inputs.org == 'Revanced Extended Beta' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Beta' }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
|
- name: Preparing to patch
|
||||||
|
uses: ./.github/actions/preparing
|
||||||
|
- name: Check github connection
|
||||||
|
id: check-gh-rve-beta
|
||||||
|
run: bash src/etc/connection.sh
|
||||||
|
- name: Patch apk
|
||||||
|
id: patch-rve-beta
|
||||||
|
if: steps.check-gh-rve-beta.outputs.internet_error == '0'
|
||||||
|
run: bash src/build/Revanced-Extended-Beta.sh
|
||||||
|
- name: Releasing APK files
|
||||||
|
id: release-rve-beta
|
||||||
|
if: steps.check-gh-rve-beta.outputs.internet_error == '0'
|
||||||
|
uses: ./.github/actions/release
|
||||||
|
- name: Re-run workflow if github connection not stable
|
||||||
|
if: always() && steps.patch-rve-beta.outcome == 'skipped' || steps.release-rve-beta.outcome == 'skipped' && env.retry_count < env.max_retries
|
||||||
|
uses: ./.github/actions/re-run
|
||||||
patch_twitter_piko_stable:
|
patch_twitter_piko_stable:
|
||||||
name: Patch Twitter Piko Stable
|
name: Patch Twitter Piko Stable
|
||||||
if: ${{ github.event.inputs.org == 'Twitter Piko Stable' || github.event.inputs.org == 'All' || inputs.org == 'Twitter Piko Stable' }}
|
if: ${{ github.event.inputs.org == 'Twitter Piko Stable' || github.event.inputs.org == 'All' || inputs.org == 'Twitter Piko Stable' }}
|
||||||
|
|||||||
50
src/build/Revanced-Extended-Beta.sh
Normal file
50
src/build/Revanced-Extended-Beta.sh
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Revanced Extended build
|
||||||
|
source src/build/utils.sh
|
||||||
|
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
# Download requirements
|
||||||
|
dl_gh "revanced-patches" "inotia00" "prerelease"
|
||||||
|
dl_gh "revanced-integrations revanced-cli" "inotia00" "latest"
|
||||||
|
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
# Patch YouTube Extended:
|
||||||
|
get_patches_key "youtube-revanced-extended"
|
||||||
|
get_ver "Video playback" "com.google.android.youtube"
|
||||||
|
get_apk "youtube-beta" "youtube" "google-inc/youtube/youtube"
|
||||||
|
patch "youtube-beta" "revanced-extended" "inotia"
|
||||||
|
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
# Patch YouTube Music Extended:
|
||||||
|
# Arm64-v8a
|
||||||
|
get_patches_key "youtube-music-revanced-extended"
|
||||||
|
get_ver "Video playback" "com.google.android.apps.youtube.music"
|
||||||
|
get_apk "youtube-music-beta-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||||
|
patch "youtube-music-beta-arm64-v8a" "revanced-extended" "inotia"
|
||||||
|
# Armeabi-v7a
|
||||||
|
get_patches_key "youtube-music-revanced-extended"
|
||||||
|
get_ver "Video playback" "com.google.android.apps.youtube.music"
|
||||||
|
get_apk "youtube-music-beta-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||||
|
patch "youtube-music-beta-armeabi-v7a" "revanced-extended" "inotia"
|
||||||
|
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
# Split architecture Youtube:
|
||||||
|
for i in {0..3}; do
|
||||||
|
split_arch "youtube-beta-revanced-extended" "youtube-beta-${archs[i]}-revanced-extended" "$(gen_rip_libs ${libs[i]})"
|
||||||
|
done
|
||||||
|
|
||||||
|
#################################################
|
||||||
|
# Patch Reddit:
|
||||||
|
rm -f revanced-cli* revanced-patches*
|
||||||
|
dl_gh "revanced-cli" "inotia00" "v2.21.2-arsclib"
|
||||||
|
dl_gh "revanced-patches" "inotia00" "v2.174.0-arsclib"
|
||||||
|
get_patches_key "reddit-rve"
|
||||||
|
get_apk "reddit-beta" "reddit" "redditinc/reddit/reddit"
|
||||||
|
patch "reddit-beta" "revanced-extended"
|
||||||
|
mv ./release/reddit-beta-revanced-extended.apk/base.apk ./reddit-beta-revanced-extended.apk
|
||||||
|
rm -f -d ./release/reddit-beta-revanced-extended.apk
|
||||||
|
mv ./reddit-beta-revanced-extended.apk ./release/reddit-beta-revanced-extended.apk
|
||||||
@@ -37,13 +37,13 @@ for i in {0..3}; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
# Patch Reddit:
|
# Patch Reddit:
|
||||||
rm -f revanced-cli*
|
rm -f revanced-cli* revanced-patches*
|
||||||
dl_gh "revanced-cli" "inotia00" "v2.21.2-arsclib"
|
dl_gh "revanced-cli" "inotia00" "v2.21.2-arsclib"
|
||||||
dl_gh "revanced-patches" "inotia00" "v2.174.0-arsclib"
|
dl_gh "revanced-patches" "inotia00" "v2.174.0-arsclib"
|
||||||
get_patches_key "reddit-rve"
|
get_patches_key "reddit-rve"
|
||||||
get_apk "reddit" "reddit" "redditinc/reddit/reddit"
|
get_apk "reddit" "reddit" "redditinc/reddit/reddit"
|
||||||
patch "reddit" "revanced-extended"
|
patch "reddit" "revanced-extended"
|
||||||
|
mv ./release/reddit-revanced-extended.apk/base.apk ./reddit-revanced-extended.apk
|
||||||
#################################################
|
rm -f -d ./release/reddit-revanced-extended.apk
|
||||||
|
mv ./reddit-revanced-extended.apk ./release/reddit-revanced-extended.apk
|
||||||
@@ -185,7 +185,7 @@ patch() {
|
|||||||
if [ -f "./download/$1.apk" ]; then
|
if [ -f "./download/$1.apk" ]; then
|
||||||
local p b m ks a pu
|
local p b m ks a pu
|
||||||
if [ "$3" = inotia ]; then
|
if [ "$3" = inotia ]; then
|
||||||
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks"
|
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" pu="--purge=true"
|
||||||
echo "Patching with Revanced-cli inotia"
|
echo "Patching with Revanced-cli inotia"
|
||||||
else
|
else
|
||||||
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
|
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
|
||||||
@@ -197,7 +197,7 @@ patch() {
|
|||||||
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" pu="--purge=true"
|
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" pu="--purge=true"
|
||||||
echo "Patching with Revanced-cli version 3"
|
echo "Patching with Revanced-cli version 3"
|
||||||
elif [ $num -eq 2 ]; then
|
elif [ $num -eq 2 ]; then
|
||||||
p="" b="-b" m="-m" a="-a " ks="_ks" pu="--clean"
|
p="" b="--bundle" m="--merge" a="--apk " ks="_ks" pu="--clean"
|
||||||
echo "Patching with Revanced-cli version 2"
|
echo "Patching with Revanced-cli version 2"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
Custom branding icon YouTube
|
Custom branding icon YouTube
|
||||||
Enable compact controls overlay
|
Enable compact controls overlay
|
||||||
|
Translations
|
||||||
Disable QUIC protocol
|
Disable QUIC protocol
|
||||||
Disable auto captions
|
Disable auto captions
|
||||||
Disable HDR video
|
Disable HDR video
|
||||||
|
|||||||
Reference in New Issue
Block a user