diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index a6f5bd6d..b797e0af 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -97,14 +97,29 @@ export default defineAppConfig({ enable: false, key: 1, name: '电脑微信快捷自动登录', - activityIds: '.plugin.webwx.ui.ExtDeviceWXLoginUI', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', + activityIds: [ + '.plugin.webwx.ui.ExtDeviceWXLoginUI', + 'com.tencent.mm.ui.LauncherUI', + ], rules: 'TextView[text="取消登录"] - Button[text="登录"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13522625', // activityIds: 'com.tencent.mm.plugin.webwx.ui.ExtDeviceWXLoginUI' + 'https://i.gkd.li/import/13522577', // activityIds: 'com.tencent.mm.ui.LauncherUI' + ], }, { enable: false, key: 2, name: '浏览器扫码微信登录自动授权', desc: '自动允许使用头像昵称等', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', activityIds: [ 'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI', 'com.tencent.mm.ui.LauncherUI', @@ -117,6 +132,10 @@ export default defineAppConfig({ key: 3, name: '第三方APP申请使用授权弹窗', desc: '自动点击允许,但由于此界面可以额外新建昵称头像,默认不启用', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', activityIds: ['com.tencent.mm.plugin.base.stub.UIEntryStub'], rules: 'Button[text="拒绝"] - Button[text="允许"]', snapshotUrls: 'https://i.gkd.li/import/12663602', @@ -125,6 +144,10 @@ export default defineAppConfig({ enable: false, key: 4, name: '微信读书网页版扫码登录自动授权', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', activityIds: ['com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI'], rules: [ { @@ -221,6 +244,7 @@ export default defineAppConfig({ key: 7, name: '自动选中发送原图', desc: '图片和视频选择器-自动选中底部中间的发送原图', + quickFind: true, activityIds: [ 'com.tencent.mm.plugin.gallery.ui.AlbumPreviewUI', 'com.tencent.mm.plugin.gallery.ui.ImagePreviewUI', @@ -228,7 +252,7 @@ export default defineAppConfig({ rules: [ { key: 1, - matches: '[text="原图"] - ImageButton[desc="未选中,原图,复选框"]', + matches: '@ImageButton[desc="未选中,原图,复选框"] + [text="原图"]', snapshotUrls: [ 'https://i.gkd.li/import/12686641', // 未选中 'https://i.gkd.li/import/12840865', // 未选中 @@ -278,23 +302,25 @@ export default defineAppConfig({ key: 9, name: '自动查看原图', desc: '自动点击底部左侧[查看原图(*M)]按钮', + quickFind: true, activityIds: 'com.tencent.mm.ui.chatting.gallery.ImageGalleryUI', rules: 'Button[text^="查看原图"][clickable=true]', - snapshotUrls: 'https://i.gkd.li/import/12706944', + snapshotUrls: 'https://i.gkd.li/import/13523031', }, { key: 10, name: '微信小程序-开屏广告', quickFind: true, matchTime: 10000, - actionMaximum: 1, - resetMatch: 'activity', + // actionMaximum: 1, // 经常需要点2次,首次点击过早大概率跳不过 + // resetMatch: 'activity', activityIds: [ 'com.tencent.mm.plugin.appbrand.ui.AppBrandUI', 'com.tencent.mm.plugin.appbrand.launching.AppBrandLaunchProxyUI', ], rules: [ { + actionDelay: 800, // 过早点击首次大概率跳不过 matches: [ 'FrameLayout > TextView + FrameLayout > TextView[text="广告"]', 'FrameLayout > TextView + FrameLayout > TextView[text="跳过"]', @@ -316,6 +342,9 @@ export default defineAppConfig({ key: 11, name: '网页版文件传输助手扫码自动授权', quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', activityIds: 'com.tencent.mm.ui.LauncherUI', rules: '[text="打开网页版文件传输助手"] + * > Button[text="打开"]', snapshotUrls: 'https://i.gkd.li/import/12793745', @@ -405,5 +434,16 @@ export default defineAppConfig({ ], }, }, + { + key: 17, + name: '青少年模式弹窗', + quickFind: true, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.tencent.mm.plugin.finder.ui.FinderSelfUI', + rules: + 'TextView[text^="为呵护未成年人健康成长,微信推出青少年模式"] +2 Button[text="我知道了"]', + snapshotUrls: 'https://i.gkd.li/import/13538145', + }, ], });