Skip to content

Commit

Permalink
update: bilibili to v1.7.2.1559
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Nov 5, 2022
1 parent 858a774 commit fad15e9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.7.2-1 / 2022-11-05

- update: bilibili to v1.7.2.1559

# v1.6.1-3 / 2022-09-24

- fix: 港澳台搜索(取决于服务器是否支持cookie转发)
Expand Down
2 changes: 1 addition & 1 deletion conf/bilibili_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.1.1379
1.7.2.1559
18 changes: 9 additions & 9 deletions tools/fix-other.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ mv "app/main/temp.js" "app/main/index.js"
notice "====app.js===="

notice "屏蔽检测"
grep -lr 'if(!kW' --exclude="app.asar" .
sed -i 's#if(!kW#if(false\&\&!kW#g' app/main/app.js
grep -lr 'if(!I6)' --exclude="app.asar" .
sed -i 's#if(!I6)#if(false\&\&!I6)#' app/main/app.js
grep -lr 'if(!at' --exclude="app.asar" .
sed -i 's#if(!at#if(false\&\&!at#g' app/main/app.js
grep -lr 'if(!e6)' --exclude="app.asar" .
sed -i 's#if(!e6)#if(false\&\&!e6)#' app/main/app.js
# global['bootstrapApp']();
grep -lr 'if(kW)' --exclude="app.asar" .
sed -i 's#if(kW)#if(!kW)#' app/main/app.js
grep -lr ';}!kW' --exclude="app.asar" .
sed -i 's#;}!kW#;}false\&\&!kW#' app/main/app.js
grep -lr 'if(at)' --exclude="app.asar" .
sed -i 's#if(at)#if(!at)#' app/main/app.js
grep -lr ';}!at' --exclude="app.asar" .
sed -i 's#;}!at#;}false\&\&!at#' app/main/app.js

notice "路由"
grep -lr 'case"SettingsPage":return n.push({name:"Settings"});c' --exclude="app.asar" .
sed -i 's#case"SettingsPage":return n.push({name:"Settings"});c#case"SettingsPage":return n.push({name:"Settings"});default:if(n)return n.push({name:g.page});c#' app/render/assets/biliapp.*.js
sed -i 's#case"SettingsPage":return n.push({name:"Settings"});c#case"SettingsPage":return n.push({name:"Settings"});default:if(n)return n.push({name:y.page});c#' app/render/assets/biliapp.*.js

notice "添加主页菜单" # ok
grep -lr "te'](\[{'label':'设置" --exclude="app.asar" .
Expand Down

0 comments on commit fad15e9

Please sign in to comment.