mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
+Youtube for Android 6 & 7
This commit is contained in:
1
.github/workflows/BETA-patch.yml
vendored
1
.github/workflows/BETA-patch.yml
vendored
@@ -25,6 +25,7 @@ jobs:
|
||||
**Change log** :point_down:
|
||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||
|
||||
- name: Release
|
||||
|
||||
61
.github/workflows/patch-6-7.yml
vendored
Normal file
61
.github/workflows/patch-6-7.yml
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
name: Patch Revanced Extended for Android 6 & 7
|
||||
on:
|
||||
# push:
|
||||
schedule:
|
||||
- cron: "0 10 */10 * *"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
|
||||
patch2:
|
||||
name: Patch Revanced Extended for Android 6 & 7
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up jdk
|
||||
uses: actions/setup-java@v3.11.0
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
- name: Patch apk
|
||||
run: bash src/build/build-rve-android-6-7.sh
|
||||
|
||||
- name: Generate release info
|
||||
run: |
|
||||
echo "
|
||||
[](https://visitcount.itsvg.in)
|
||||
**Change log** :point_down:
|
||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: |
|
||||
./build/*
|
||||
revanced-extended-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Delete older releases
|
||||
uses: dev-drprasad/delete-older-releases@v0.2.1
|
||||
with:
|
||||
keep_latest: 1
|
||||
delete_tags: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 0
|
||||
keep_minimum_runs: 15
|
||||
1
.github/workflows/patch.yml
vendored
1
.github/workflows/patch.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
**Change log** :point_down:
|
||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||
|
||||
- name: Release
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
[](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-revanced.apk)
|
||||
|
||||
[](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-revanced-extended-android-6-7.apk)
|
||||
|
||||
# [](https://play.google.com/store/apps/details?id=com.google.android.apps.youtube.music)
|
||||
|
||||
|
||||
BIN
src/Banner.png
Normal file
BIN
src/Banner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
30
src/build/build-rve-android-6-7.sh
Normal file
30
src/build/build-rve-android-6-7.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# Revanced Extended for android 6 & 7 build
|
||||
source src/build/tools.sh
|
||||
|
||||
release=$(curl -s "https://api.github.com/repos/kitadai31/revanced-patches-android6-7/releases/latest")
|
||||
asset=$(echo "$release" | jq -r '.assets[] | select(.name | test("revanced-patches.*\\.jar$")) | .browser_download_url')
|
||||
curl -sL -O "$asset"
|
||||
ls revanced-patches*.jar >> new.txt
|
||||
rm -f revanced-patches*.jar
|
||||
release=$(curl -s "https://api.github.com/repos/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/latest")
|
||||
asset=$(echo "$release" | jq -r '.assets[] | select(.name == "revanced-extended-version.txt") | .browser_download_url')
|
||||
curl -sL -O "$asset"
|
||||
if diff -q revanced-extended-android-6-7-version.txt new.txt >/dev/null ; then
|
||||
echo "Old patch!!! Not build"
|
||||
exit 0
|
||||
else
|
||||
rm -f *.tx
|
||||
|
||||
dl_gh2 "kitadai31"
|
||||
dl_gh3 "inotia00"
|
||||
|
||||
# Patch YouTube Extended
|
||||
get_patches_key "youtube-revanced-extended-6-7"
|
||||
#version=""
|
||||
get_ver "hide-general-ads" "com.google.android.youtube"
|
||||
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "youtube-revanced-extended-android-6-7"
|
||||
|
||||
ls revanced-patches*.jar >> revanced-extended-version.txt
|
||||
fi
|
||||
@@ -22,6 +22,30 @@ dl_gh1() {
|
||||
done
|
||||
echo "All assets downloaded"
|
||||
}
|
||||
dl_gh2() {
|
||||
for repo in revanced-patches-android6-7 revanced-integrations ; do
|
||||
asset_urls=$(wget -qO- "https://api.github.com/repos/$1/$repo/releases/latest" \
|
||||
| jq -r '.assets[] | "\(.browser_download_url) \(.name)"')
|
||||
while read -r url names
|
||||
do
|
||||
echo "Downloading $names from $url"
|
||||
wget -q -O "$names" $url
|
||||
done <<< "$asset_urls"
|
||||
done
|
||||
echo "All assets downloaded"
|
||||
}
|
||||
dl_gh3() {
|
||||
for repo in revanced-cli ; do
|
||||
asset_urls=$(wget -qO- "https://api.github.com/repos/$1/$repo/releases/latest" \
|
||||
| jq -r '.assets[] | "\(.browser_download_url) \(.name)"')
|
||||
while read -r url names
|
||||
do
|
||||
echo "Downloading $names from $url"
|
||||
wget -q -O "$names" $url
|
||||
done <<< "$asset_urls"
|
||||
done
|
||||
echo "All assets downloaded"
|
||||
}
|
||||
dl_revanced_integrations() {
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/$1/revanced-integrations/releases/download/v$2/revanced-integrations-$2.apk -o revanced-integrations-$2.apk
|
||||
}
|
||||
|
||||
25
src/patches/youtube-revanced-extended-6-7/exclude-patches
Normal file
25
src/patches/youtube-revanced-extended-6-7/exclude-patches
Normal file
@@ -0,0 +1,25 @@
|
||||
custom-branding-icon-afn-red
|
||||
debugging
|
||||
custom-seekbar-color
|
||||
disable-startup-shorts-player
|
||||
disable-quic-protocol
|
||||
disable-hdr-video
|
||||
enable-old-quality-layout
|
||||
force-premium-heading
|
||||
force-vp9-codec
|
||||
header-switch
|
||||
hide-cast-button
|
||||
hide-account-menu
|
||||
hide-auto-captions
|
||||
hide-autoplay-button
|
||||
hide-autoplay-preview
|
||||
hide-captions-button
|
||||
hide-email-address
|
||||
hide-endscreen-cards
|
||||
hide-endscreen-overlay
|
||||
hide-filmstrip-overlay
|
||||
hide-mix-playlists
|
||||
hide-seekbar
|
||||
hide-search-terms
|
||||
optimize-resource
|
||||
spoof-app-version
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user