remove bilibili

Because it closed source, can't self patch anymore
Update workflow
Change CI to detect new patch file format (.rvp)
This commit is contained in:
Fioren
2024-10-30 01:54:54 +07:00
parent 826dfd2000
commit 12ba4a6271
10 changed files with 17 additions and 105 deletions

View File

@@ -1,16 +0,0 @@
#!/bin/bash
# BiliRoamingX build for chinese only
source ./src/build/utils.sh
#################################################
# Download requirements
dl_gh "revanced-cli" "revanced" "latest"
dl_gh "BiliRoamingX" "BiliRoamingX" "latest"
#################################################
# Patch bilibili:
get_patches_key "bilibili-BiliRoamingX"
get_apk "com.bilibili.app.in" "bilibili" "bilibili" "bilibili/bilibili/bilibili"
patch "bilibili" "BiliRoamingX"

View File

@@ -4,7 +4,7 @@ source src/build/utils.sh
# Patch Twitter Piko:
patch_piko () {
dl_gh "revanced-cli" "revanced" "latest"
dl_gh "revanced-cli" "revanced" "v4.6.0"
get_patches_key "twitter-piko"
local v apk_name
if [[ "$1" == "latest" ]]; then

View File

@@ -19,7 +19,7 @@ get_date() {
checker(){
local date1 date2 date1_sec date1_sec repo=$1 ur_repo=$repository check=$3
date1=$(get_date "$repo" "$2" "^.*\\\.jar$")
date1=$(get_date "$repo" "$2" "^(.*\\\.jar|.*\\\.rvp)$")
date2=$(get_date "$ur_repo" "all" "$check")
date1_sec=$(date -d "$date1" +%s)
date2_sec=$(date -d "$date2" +%s)
@@ -31,4 +31,4 @@ checker(){
echo -e "\e[32mOld patch, not build.\e[0m"
fi
}
checker $1 $2 $3
checker $1 $2 $3

View File

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