added ReX forked by rufusin

This commit is contained in:
siritami
2024-03-05 07:18:38 +07:00
parent 5c12cc4595
commit c076e5e822
7 changed files with 101 additions and 3 deletions

View File

@@ -33,6 +33,10 @@ jobs:
id: check-rex id: check-rex
if: steps.check-gh.outputs.internet_error == '0' if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh YT-Advanced/ReX-patches latest youtube-ReX.apk run: bash src/etc/ci.sh YT-Advanced/ReX-patches latest youtube-ReX.apk
- name: Check new patch ReX forked by rufusin
id: check-rex-rufusin
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh rufusin/revanced-patches latest youtube-ReX-rufusin.apk
- name: Check new patch Revanced Extended - name: Check new patch Revanced Extended
id: check-rve id: check-rve
if: steps.check-gh.outputs.internet_error == '0' if: steps.check-gh.outputs.internet_error == '0'
@@ -75,6 +79,7 @@ jobs:
check_rv: ${{ steps.check-rv.outputs.new_patch }} check_rv: ${{ steps.check-rv.outputs.new_patch }}
check_rv_beta: ${{ steps.check-rv-beta.outputs.new_patch }} check_rv_beta: ${{ steps.check-rv-beta.outputs.new_patch }}
check_rex: ${{ steps.check-rex.outputs.new_patch }} check_rex: ${{ steps.check-rex.outputs.new_patch }}
check_rex_rufusin: ${{ steps.check-rex-rufusin.outputs.new_patch }}
check_rve: ${{ steps.check-rve.outputs.new_patch }} check_rve: ${{ steps.check-rve.outputs.new_patch }}
check_rve67: ${{ steps.check-rve67.outputs.new_patch }} check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
check_rve5: ${{ steps.check-rve5.outputs.new_patch }} check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
@@ -100,6 +105,13 @@ jobs:
uses: ./.github/workflows/manual-patch.yml uses: ./.github/workflows/manual-patch.yml
with: with:
org: "ReX" org: "ReX"
Patch-ReX-rufusin:
name: Patch ReX forked by rufusin
needs: check
if: ${{ needs.check.outputs.check_rex_rufusin == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX-rufusin"
Patch-Revanced-Extended: Patch-Revanced-Extended:
name: Patch Revanced Extended name: Patch Revanced Extended
needs: check needs: check

View File

@@ -18,6 +18,7 @@ on:
- 'Revanced' - 'Revanced'
- 'Revanced Beta' - 'Revanced Beta'
- 'ReX' - 'ReX'
- 'Rex-rufusin'
- 'Revanced Extended' - 'Revanced Extended'
- 'Revanced Extended Android 6,7' - 'Revanced Extended Android 6,7'
- 'Revanced Extended Android 5' - 'Revanced Extended Android 5'
@@ -109,6 +110,29 @@ jobs:
- name: Re-run workflow if github connection not stable - name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex.outcome == 'skipped' && env.retry_count < env.max_retries if: always() && steps.patch-rex.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run uses: ./.github/actions/re-run
patch_rex_rufusin:
name: Patch ReX forked by rufusin
if: ${{ github.event.inputs.org == 'ReX-rufusin' || github.event.inputs.org == 'All' || inputs.org == 'ReX-rufusin' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Check github connection
id: check-gh-rex-rufusin
run: bash src/etc/connection.sh
- name: Preparing to patch
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
uses: ./.github/actions/preparing
- name: Patch apk
id: patch-rex
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
run: bash src/build/ReX-rufusin.sh
- name: Releasing APK files
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex-rufusin.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rve: patch_rve:
name: Patch Revanced Extended name: Patch Revanced Extended
if: ${{ github.event.inputs.org == 'Revanced Extended' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended' }} if: ${{ github.event.inputs.org == 'Revanced Extended' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended' }}
@@ -133,7 +157,7 @@ jobs:
if: always() && steps.patch-rve.outcome == 'skipped' && env.retry_count < env.max_retries if: always() && steps.patch-rve.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run uses: ./.github/actions/re-run
patch_rve67: patch_rve67:
name: Revanced Extended Android 6,7 name: Patch Revanced Extended Android 6,7
if: ${{ github.event.inputs.org == 'Revanced Extended Android 6,7' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Android 6,7' }} if: ${{ github.event.inputs.org == 'Revanced Extended Android 6,7' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Android 6,7' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -156,7 +180,7 @@ jobs:
if: always() && steps.patch-rve67.outcome == 'skipped' && env.retry_count < env.max_retries if: always() && steps.patch-rve67.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run uses: ./.github/actions/re-run
patch_rve5: patch_rve5:
name: Revanced Extended Android 5 name: Patch Revanced Extended Android 5
if: ${{ github.event.inputs.org == 'Revanced Extended Android 5' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Android 5' }} if: ${{ github.event.inputs.org == 'Revanced Extended Android 5' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Android 5' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -177,4 +201,4 @@ jobs:
uses: ./.github/actions/release uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable - name: Re-run workflow if github connection not stable
if: always() && steps.patch-rve5.outcome == 'skipped' && env.retry_count < env.max_retries if: always() && steps.patch-rve5.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run uses: ./.github/actions/re-run

View File

@@ -56,6 +56,18 @@ Download
[x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-ReX.apk) [x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-ReX.apk)
### [ReX forked by rufusin:](https://github.com/rufusin/revanced-patches)
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-ReX-rufusin.apk)
[Arm64-v8a](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-arm64-v8a-ReX-rufusin.apk)
[Armeabi-v7a](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-armeabi-v7a-ReX-rufusin.apk)
[x86](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86-ReX-rufusin.apk)
[x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-ReX-rufusin.apk)
### [Revanced Extended: (Discontinued)](https://github.com/inotia00/revanced-patches/) ### [Revanced Extended: (Discontinued)](https://github.com/inotia00/revanced-patches/)
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-revanced-extended.apk) [All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-revanced-extended.apk)

30
src/build/ReX-rufusin.sh Normal file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
# ReX forked by rufusin build
source src/build/utils.sh
#################################################
# Download requirements
dl_gh " revanced-patches revanced-integrations" "rufusin" "latest"
dl_gh "revanced-cli" "inotia00" "latest"
#################################################
# Patch YouTube ReX rufusin:
get_patches_key "youtube-ReX-rufusin"
get_ver "Hide general ads" "com.google.android.youtube"
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
patch "youtube" "ReX-rufusin" "inotia"
#################################################
rm -f revanced-cli*
dl_gh "revanced-cli" "FiorenMas" "latest"
# Split architecture Youtube:
get_patches_key "youtube-ReX-rufusin"
for i in {0..3}; do
split_arch "youtube" "youtube-${archs[i]}-ReX-rufusin" "$(gen_rip_libs ${libs[i]})"
done
#################################################

View File

@@ -0,0 +1 @@
[]

View File

@@ -0,0 +1,18 @@
Custom branding icon YouTube
Enable compact controls overlay
Disable QUIC protocol
Disable auto captions
Disable HDR video
Enable old quality layout
Enable zen mode
Hide account menu
Hide autoplay button
Hide autoplay preview
Hide captions button
Hide description components
Hide handle
Hide latest videos button
Hide load more button
Hide mix playlists
Hide previous next button
Custom seekbar color

View File

@@ -0,0 +1 @@