From 1a57d4576949066c023334cf768c4156cccd1654 Mon Sep 17 00:00:00 2001
From: siritami <102145692+FiorenMas@users.noreply.github.com>
Date: Thu, 7 Nov 2024 09:31:08 +0700
Subject: [PATCH] added BiliRoamingM
---
.github/workflows/ci.yml | 12 ++++++++++
.github/workflows/manual-patch.yml | 24 +++++++++++++++++++
README.md | 15 ++++++++++++
src/build/BiliRoamingM.sh | 12 ++++++++++
src/options/BiliRoamingM.json | 1 +
.../bilibili-BiliRoamingM/exclude-patches | 0
.../bilibili-BiliRoamingM/include-patches | 0
7 files changed, 64 insertions(+)
create mode 100644 src/build/BiliRoamingM.sh
create mode 100644 src/options/BiliRoamingM.json
create mode 100644 src/patches/bilibili-BiliRoamingM/exclude-patches
create mode 100644 src/patches/bilibili-BiliRoamingM/include-patches
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 97e3e14..4794a3f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -65,6 +65,10 @@ jobs:
id: check-rve5
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh d4n3436/revanced-patches-android5 latest youtube-revanced-extended-android-5.apk
+ - name: Check new patch BiliRoamingM
+ id: check-BiliRoamingM
+ if: steps.check-gh.outputs.internet_error == '0'
+ run: bash src/etc/ci.sh sakarie9/BiliRoamingM latest bilibili-BiliRoamingM.apk
- name: Keep workflow run
if: steps.check-gh.outputs.internet_error == '0'
uses: gautamkrishnar/keepalive-workflow@v1
@@ -103,6 +107,7 @@ jobs:
check_twitter_piko_beta: ${{ steps.check-twitter-piko-beta.outputs.new_patch }}
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
+ check_BiliRoamingM: ${{ steps.check-BiliRoamingM.outputs.new_patch }}
Patch-Revanced:
name: Patch Revanced Stable
@@ -181,3 +186,10 @@ jobs:
uses: ./.github/workflows/manual-patch.yml
with:
org: "Revanced Extended Android 5"
+ Patch-BiliRoamingM:
+ name: Patch BiliRoamingM
+ needs: check
+ if: ${{ needs.check.outputs.check_BiliRoamingM == 1 }}
+ uses: ./.github/workflows/manual-patch.yml
+ with:
+ org: "BiliRoamingM"
\ No newline at end of file
diff --git a/.github/workflows/manual-patch.yml b/.github/workflows/manual-patch.yml
index b9d8811..3fb0b71 100644
--- a/.github/workflows/manual-patch.yml
+++ b/.github/workflows/manual-patch.yml
@@ -27,6 +27,7 @@ on:
- 'Twitter Piko Beta'
- 'Revanced Extended Android 6,7'
- 'Revanced Extended Android 5'
+ - 'BiliRoamingM'
- 'Dropped Patches - indrastorms'
retry_count:
description: 'Do not change value below'
@@ -309,6 +310,29 @@ jobs:
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rve5.outcome == 'skipped' || steps.release-rve5.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
+ patch_BiliRoamingM:
+ name: Patch BiliRoamingM
+ if: ${{ github.event.inputs.org == 'BiliRoamingM' || inputs.org == 'BiliRoamingM' }}
+ 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-BiliRoamingM
+ run: bash src/etc/connection.sh
+ - name: Patch apk
+ id: patch-BiliRoamingM
+ if: steps.check-gh-BiliRoamingM.outputs.internet_error == '0'
+ run: bash src/build/BiliRoamingM.sh
+ - name: Releasing APK files
+ id: release-BiliRoamingM
+ if: steps.check-gh-BiliRoamingM.outputs.internet_error == '0'
+ uses: ./.github/actions/release
+ - name: Re-run workflow if github connection not stable
+ if: always() && steps.patch-BiliRoamingM.outcome == 'skipped' || steps.release-BiliRoamingM.outcome == 'skipped' && env.retry_count < env.max_retries
+ uses: ./.github/actions/re-run
patch_Dropped_Patches:
name: Dropped Patches Revanced - indrastorms
if: ${{ github.event.inputs.org == 'Dropped Patches - indrastorms' || inputs.org == 'Dropped Patches - indrastorms' }}
diff --git a/README.md b/README.md
index 9d6a59c..6c81ede 100644
--- a/README.md
+++ b/README.md
@@ -292,6 +292,14 @@ Download
---
+### [Bilbili: (Chinese only)](https://play.google.com/store/apps/details?id=com.bilibili.app.in)
+
+### [BiliRoamingM:](https://github.com/sakarie9/BiliRoamingM/)
+
+[All Architectures](../../releases/download/all/bilibili-BiliRoamingM.apk )
+
+---
+
### [Nova Launcher:](https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher)
### [Dropped Patches by indrastorms:](https://github.com/indrastorms/Dropped-Patches)
@@ -384,6 +392,13 @@ Download
+
+ BiliRoamingM
+
+[Patches & Integrations](https://github.com/sakarie9/BiliRoamingM) - [GPL-3.0](https://github.com/sakarie9/BiliRoamingM/blob/main/LICENSE)
+
+
+
indrastorms
diff --git a/src/build/BiliRoamingM.sh b/src/build/BiliRoamingM.sh
new file mode 100644
index 0000000..567741a
--- /dev/null
+++ b/src/build/BiliRoamingM.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# BiliRoamingM build for chinese only
+source ./src/build/utils.sh
+#################################################
+# Download requirements
+dl_gh "revanced-cli" "revanced" "v4.6.0"
+dl_gh "BiliRoamingM" "sakarie9" "latest"
+#################################################
+# Patch bilibili:
+get_patches_key "bilibili-BiliRoamingM"
+get_apk "com.bilibili.app.in" "bilibili" "bilibili" "bilibili/bilibili/bilibili"
+patch "bilibili" "BiliRoamingM"
\ No newline at end of file
diff --git a/src/options/BiliRoamingM.json b/src/options/BiliRoamingM.json
new file mode 100644
index 0000000..0637a08
--- /dev/null
+++ b/src/options/BiliRoamingM.json
@@ -0,0 +1 @@
+[]
\ No newline at end of file
diff --git a/src/patches/bilibili-BiliRoamingM/exclude-patches b/src/patches/bilibili-BiliRoamingM/exclude-patches
new file mode 100644
index 0000000..e69de29
diff --git a/src/patches/bilibili-BiliRoamingM/include-patches b/src/patches/bilibili-BiliRoamingM/include-patches
new file mode 100644
index 0000000..e69de29