diff --git a/src/apps/com.smile.gifmaker.ts b/src/apps/com.smile.gifmaker.ts index 515e9d11..4728ff65 100644 --- a/src/apps/com.smile.gifmaker.ts +++ b/src/apps/com.smile.gifmaker.ts @@ -64,13 +64,24 @@ export default defineAppConfig({ { enable: false, key: 12, - name: '你可能感兴趣的人', - desc: '自动点击【关闭】', + name: '功能类-你可能感兴趣的人', + desc: '自动点击【关闭/隐藏】', activityIds: 'com.yxcorp.gifshow.HomeActivity', - rules: '[id="com.smile.gifmaker:id/close_pymk"]', - snapshotUrls: [ - 'https://i.gkd.li/import/12708620', - 'https://i.gkd.li/import/12708707', + rules: [ + { + key: 0, + matches: '[id="com.smile.gifmaker:id/close_pymk"]', + snapshotUrls: [ + 'https://i.gkd.li/import/12708620', + 'https://i.gkd.li/import/12708707', + ], + }, + { + key: 1, + quickFind: true, + matches: 'ViewGroup[childCount=3] > [text="隐藏"]', + snapshotUrls: 'https://i.gkd.li/import/14001536', + }, ], }, ],