From a8491c9bd409d945203bbd11b11e8850656e9560 Mon Sep 17 00:00:00 2001 From: msojocs Date: Sat, 30 Sep 2023 17:28:56 +0800 Subject: [PATCH] update: bilibili to v1.12.1.2862 --- CHANGELOG.MD | 5 +++++ conf/bilibili_version | 2 +- tools/fix-other.sh | 12 ++++++------ tools/js-decode.js | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 3bd3869..9b8cc5c 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,3 +1,8 @@ +# 🌈 v1.12.1-1 / 2023-09-30 + +## 🚀 功能 +- bilibili: update to v1.12.1.2862 + # 🌈 v1.12.0-2 / 2023-09-23 ## 🐞 修复 diff --git a/conf/bilibili_version b/conf/bilibili_version index 9acc549..5abb124 100644 --- a/conf/bilibili_version +++ b/conf/bilibili_version @@ -1 +1 @@ -1.12.0.2837 \ No newline at end of file +1.12.1.2862 \ No newline at end of file diff --git a/tools/fix-other.sh b/tools/fix-other.sh index 9e05b88..d4f81cf 100755 --- a/tools/fix-other.sh +++ b/tools/fix-other.sh @@ -38,14 +38,14 @@ cat "$root_dir/res/scripts/injectIndex.js" > "app/index.js" notice "====app.js====" notice "屏蔽检测" -grep -lr 'if(!oY' --exclude="app.asar" . -sed -i 's#if(!oY#if(false\&\&!oY#g' "app/main/app.js" +grep -lr 'if(!dE' --exclude="app.asar" . +sed -i 's#if(!dE#if(false\&\&!dE#g' "app/main/app.js" # ==='win';if(! -grep -lr 'if(!Md)' --exclude="app.asar" . -sed -i 's#if(!Md)#if(false\&\&!Md)#' "app/main/app.js" +grep -lr 'if(!Rq)' --exclude="app.asar" . +sed -i 's#if(!Rq)#if(false\&\&!Rq)#' "app/main/app.js" # global['bootstrapApp'](); -grep -lr 'if(oY)' --exclude="app.asar" . -sed -i 's#if(oY)#if(!oY)#' "app/main/app.js" +grep -lr 'if(dE)' --exclude="app.asar" . +sed -i 's#if(dE)#if(!dE)#' "app/main/app.js" #grep -lr '};!fb' --exclude="app.asar" . #sed -i 's#};!fb#};false\&\&!fb#' "app/main/app.js" diff --git a/tools/js-decode.js b/tools/js-decode.js index c47d67a..41d0103 100755 --- a/tools/js-decode.js +++ b/tools/js-decode.js @@ -64,7 +64,7 @@ resultCode = resultCode.replace( function ($0, $1, $2) { i++; // 查找异常点 - if(i === 14817){ + if(i === 14236){ // if(i === 3312){ // console.log("--->", $0, $1, $2) // let result = eval('"' + $1 + '"')