From b4f20e529dacd09a5582070f923ec437625535c2 Mon Sep 17 00:00:00 2001 From: 10bits Date: Wed, 7 Jun 2023 11:34:49 +0800 Subject: [PATCH] update --- diy/diy_10bits.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/diy/diy_10bits.sh b/diy/diy_10bits.sh index a4201ba1..d1116779 100644 --- a/diy/diy_10bits.sh +++ b/diy/diy_10bits.sh @@ -8,13 +8,4 @@ function my_launcher_icon(){ find $APP_WORKSPACE/app/src -regex '.*/res/.*/ic_launcher.xml' -exec \ sed "/background/d" {} -i \; } -function bookshelfAdd_no_alert() -{ - debug "关闭加入书架提示" - find $APP_WORKSPACE/app/src -regex '.*/ReadBookActivity.kt' -exec \ - sed -e '/fun finish()/,/fun onDestroy()/{s/alert/\/*&/;s/show()/&*\//}' \ - -e '/!ReadBook.inBookshelf/a\viewModel.removeFromBookshelf{ super.finish() }' \ - {} -i \; -} my_launcher_icon; -bookshelfAdd_no_alert;