diff --git a/src/apps/com.ss.android.article.news.ts b/src/apps/com.ss.android.article.news.ts index 498653e3..2742d4fc 100644 --- a/src/apps/com.ss.android.article.news.ts +++ b/src/apps/com.ss.android.article.news.ts @@ -7,13 +7,17 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: ['com.ss.android.article.news.activity.MainActivity'], + activityIds: [ + 'com.ss.android.article.news.activity.MainActivity', + 'com.bytedance.ugc.UgcDetailInfoActivity', + ], rules: [ { matches: '[childCount=1] > [text="跳过广告"]', snapshotUrls: [ 'https://gkd-kit.gitee.io/import/12684954', 'https://gkd-kit.gitee.io/import/12754759', + 'https://gkd-kit.gitee.io/import/12840189', ], }, ], @@ -21,11 +25,17 @@ export default defineAppConfig({ { key: 1, name: '更新弹窗', - activityIds: ['com.ss.android.mine.BaseSettingActivity'], + activityIds: [ + 'com.ss.android.mine.BaseSettingActivity', + 'com.miui.home.launcher.Launcher', + ], rules: [ { - matches: '[text="升级版本"] + [desc="关闭"][clickable=true]', - snapshotUrls: ['https://gkd-kit.gitee.io/import/12685000'], + matches: '[text="升级版本"] +n [desc="关闭"][clickable=true]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12685000', + 'https://gkd-kit.gitee.io/import/12840104', + ], }, ], }, @@ -39,6 +49,11 @@ export default defineAppConfig({ matches: '[text^="开启通知"] + LinearLayout > [text="暂不开启"]', snapshotUrls: ['https://gkd-kit.gitee.io/import/12706699'], }, + { + matches: + '[text^="开启通知"] < LinearLayout +2 ImageView[desc="关闭"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12840217'], + }, ], }, {