diff --git a/.github/workflows/manual-patch.yml b/.github/workflows/manual-patch.yml index 422aa8f..405c2d7 100644 --- a/.github/workflows/manual-patch.yml +++ b/.github/workflows/manual-patch.yml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] steps: - name: Checkout uses: actions/checkout@v4.2.2 @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] steps: - name: Checkout uses: actions/checkout@v4.2.2 diff --git a/README.md b/README.md index d3f9edf..c3a8416 100644 --- a/README.md +++ b/README.md @@ -325,6 +325,16 @@ Web version: --- +### [Photomath:](https://play.google.com/store/apps/details?id=com.microblink.photomath) + +### [Revanced:](https://github.com/revanced/revanced-patches) + +| Stable version | Beta version | +| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| [All Architectures](../../releases/download/all/photomath-revanced.apk) | [All Architectures](../../releases/download/all/photomath-beta-revanced.apk) | + +--- + ### [RAR:](https://play.google.com/store/apps/details?id=com.rarlab.rar) ### [Revanced:](https://github.com/revanced/revanced-patches) diff --git a/src/build/Revanced-Beta.sh b/src/build/Revanced-Beta.sh index 6f1d319..755fda2 100644 --- a/src/build/Revanced-Beta.sh +++ b/src/build/Revanced-Beta.sh @@ -159,7 +159,7 @@ revanced_dl(){ revanced_dl # Patch Duolingo get_patches_key "Duolingo" - lock_version="1" + version="6.23.2" #https://github.com/ReVanced/revanced-patches/issues/4728#issuecomment-2779066581 get_apk "com.duolingo" "duolingo-beta" "duolingo" "duolingo/duolingo-duolingo/duolingo-language-lessons" "Bundle" patch "duolingo-beta" "revanced" # Patch Google News Arm64-v8a @@ -168,6 +168,14 @@ revanced_dl(){ split_editor "googlenews-beta" "googlenews-beta-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64" patch "googlenews-beta-arm64-v8a" "revanced" } +11() { + revanced_dl + # Patch Photomath + get_patches_key "Photomath" + get_apk "com.microblink.photomath" "photomath-beta" "photomath" "google-inc/photomath/photomath" "Bundle" "Bundle_extract" + split_editor "photomath-beta" "photomath-beta" + patch "photomath-beta" "revanced" +} case "$1" in 1) 1 @@ -199,4 +207,7 @@ case "$1" in 10) 10 ;; + 11) + 11 + ;; esac diff --git a/src/build/Revanced.sh b/src/build/Revanced.sh index 0c0d815..1c4c01e 100644 --- a/src/build/Revanced.sh +++ b/src/build/Revanced.sh @@ -158,7 +158,7 @@ revanced_dl(){ revanced_dl # Patch Duolingo get_patches_key "Duolingo" - lock_version="1" + version="6.23.2" #https://github.com/ReVanced/revanced-patches/issues/4728#issuecomment-2779066581 get_apk "com.duolingo" "duolingo" "duolingo" "duolingo/duolingo-duolingo/duolingo-language-lessons" "Bundle" patch "duolingo" "revanced" # Patch Google News Arm64-v8a @@ -167,6 +167,14 @@ revanced_dl(){ split_editor "googlenews" "googlenews-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64" patch "googlenews-arm64-v8a" "revanced" } +11() { + revanced_dl + # Patch Photomath + get_patches_key "Photomath" + get_apk "com.microblink.photomath" "photomath" "photomath" "google-inc/photomath/photomath" "Bundle" "Bundle_extract" + split_editor "photomath" "photomath" + patch "photomath" "revanced" +} case "$1" in 1) 1 @@ -198,4 +206,7 @@ case "$1" in 10) 10 ;; + 11) + 11 + ;; esac diff --git a/src/patches/Photomath/exclude-patches b/src/patches/Photomath/exclude-patches new file mode 100644 index 0000000..e69de29 diff --git a/src/patches/Photomath/include-patches b/src/patches/Photomath/include-patches new file mode 100644 index 0000000..e69de29