From 0cf71a6ddb568fcc6bf9b50e69eae691530fabd6 Mon Sep 17 00:00:00 2001 From: siritami <102145692+FiorenMas@users.noreply.github.com> Date: Sun, 16 Nov 2025 01:36:09 +0700 Subject: [PATCH] add viber --- README.md | 10 ++++++++++ src/build/Revanced-Beta.sh | 6 +++++- src/build/Revanced.sh | 6 +++++- src/patches/Viber-revanced/exclude-patches | 0 src/patches/Viber-revanced/include-patches | 0 5 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 src/patches/Viber-revanced/exclude-patches create mode 100644 src/patches/Viber-revanced/include-patches diff --git a/README.md b/README.md index 80c5097..80b70d5 100644 --- a/README.md +++ b/README.md @@ -434,6 +434,16 @@ Web version: --- +### [![Viber](https://img.shields.io/badge/Viber-8B66A9?style=for-the-badge&logo=viber&logoColor=white)](https://play.google.com/store/apps/details?id=com.viber.voip) + +### [Revanced:](https://github.com/revanced/revanced-patches) + +| Stable version | Beta version | +| --------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| [All Architectures](../../releases/download/all/viber-revanced.apk) | [All Architectures](../../releases/download/all/viber-beta-revanced.apk) | + +--- + [![Crunchyroll](https://img.shields.io/badge/Crunchyroll-F47521?style=for-the-badge&logo=crunchyroll&logoColor=white)](https://play.google.com/store/apps/details?id=com.crunchyroll.crunchyroid) ### [Revanced:](https://github.com/revanced/revanced-patches) diff --git a/src/build/Revanced-Beta.sh b/src/build/Revanced-Beta.sh index 16efe70..947abc5 100644 --- a/src/build/Revanced-Beta.sh +++ b/src/build/Revanced-Beta.sh @@ -215,11 +215,15 @@ revanced_dl(){ revanced_dl # Patch Crunchyroll get_patches_key "Crunchyroll-revanced" - url="https://crunchyroll.en.uptodown.com/android/download/1109023537-x" #Use uptodown because apkmirror always ask pass Cloudflare on this app + url="https://crunchyroll.en.uptodown.com/android/download/1123284824-x" #Use uptodown because apkmirror always ask pass Cloudflare on this app url="https://dw.uptodown.com/dwn/$(req "$url" - | $pup -p --charset utf-8 'button#detail-download-button attr{data-url}')" req "$url" "crunchyroll-beta" split_editor "crunchyroll-beta" "crunchyroll-beta" patch "crunchyroll-beta" "revanced" + # Patch Viber + get_patches_key "Viber-revanced" + get_apk "com.viber.voip" "viber-beta" "viber" "viber-media-s-a-r-l/viber/rakuten-viber-messenger" + patch "viber-beta" "revanced" } case "$1" in 1) diff --git a/src/build/Revanced.sh b/src/build/Revanced.sh index 8a9c43d..35d0856 100644 --- a/src/build/Revanced.sh +++ b/src/build/Revanced.sh @@ -214,11 +214,15 @@ revanced_dl(){ revanced_dl # Patch Crunchyroll get_patches_key "Crunchyroll-revanced" - url="https://crunchyroll.en.uptodown.com/android/download/1109023537-x" #Use uptodown because apkmirror always ask pass Cloudflare on this app + url="https://crunchyroll.en.uptodown.com/android/download/1123284824-x" #Use uptodown because apkmirror always ask pass Cloudflare on this app url="https://dw.uptodown.com/dwn/$(req "$url" - | $pup -p --charset utf-8 'button#detail-download-button attr{data-url}')" req "$url" "crunchyroll" split_editor "crunchyroll" "crunchyroll" patch "crunchyroll" "revanced" + # Patch Viber + get_patches_key "Viber-revanced" + get_apk "com.viber.voip" "viber" "viber" "viber-media-s-a-r-l/viber/rakuten-viber-messenger" + patch "viber" "revanced" } case "$1" in 1) diff --git a/src/patches/Viber-revanced/exclude-patches b/src/patches/Viber-revanced/exclude-patches new file mode 100644 index 0000000..e69de29 diff --git a/src/patches/Viber-revanced/include-patches b/src/patches/Viber-revanced/include-patches new file mode 100644 index 0000000..e69de29