From 989fa2cb24c9d1a828df7443155e6299a45121a9 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 21 Sep 2023 21:24:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8A=96=E9=9F=B3):=20=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E9=80=9A=E7=9F=A5=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=88=E9=BB=98=E8=AE=A4=E5=85=B3=E9=97=AD=EF=BC=89?= =?UTF-8?q?,=20=E5=85=B3=E9=97=AD=E7=94=A8=E6=88=B7=E6=8E=A8=E8=8D=90=20(#?= =?UTF-8?q?224)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(抖音) * 修改描述 * feat(抖音): 规则优化 --------- Co-authored-by: lisonge --- src/apps/com.ss.android.ugc.aweme.ts | 31 +++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/src/apps/com.ss.android.ugc.aweme.ts b/src/apps/com.ss.android.ugc.aweme.ts index ab640a53..3a2ffe9d 100644 --- a/src/apps/com.ss.android.ugc.aweme.ts +++ b/src/apps/com.ss.android.ugc.aweme.ts @@ -24,7 +24,26 @@ export default defineAppConfig({ activityIds: 'com.ss.android.ugc.aweme.main.MainActivity', matches: '[text="换一个"] - FrameLayout[clickable=true] > ImageView[clickable=true]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12520943', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12520943'], + }, + + { + activityIds: 'com.ss.android.ugc.aweme.main.MainActivity', + matches: + '[text="你可能感兴趣"] < LinearLayout + [text="隐藏"][clickable=true]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12675396'], + }, + { + activityIds: 'com.ss.android.ugc.aweme.main.MainActivity', + matches: '[text="朋友推荐"] +(2) FrameLayout > [desc="不感兴趣"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12675129', + }, + { + activityIds: + 'com.ss.android.ugc.aweme.friends.ui.RawAddFriendsActivity', + matches: + '[text="朋友推荐"] < LinearLayout + FrameLayout > [desc="关闭"][clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12675245', }, ], }, @@ -48,5 +67,15 @@ export default defineAppConfig({ rules: '@[text="以后再说"] +2 [text="立即升级"]', snapshotUrls: 'https://gkd-kit.gitee.io/import/12534016', }, + { + enable: false, + key: 10, + name: '请求开启通知提示信息', + desc: '自动点击“暂不”', + activityIds: 'com.ss.android.ugc.aweme.main.MainActivity', + rules: + '@[text="暂不"][focusable=true] < LinearLayout - LinearLayout >(2) [text="开启朋友通知"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12675129', + }, ], });