feat(GKD): 批量删除快照 (#321)

This commit is contained in:
Kun Jinkao 2023-09-23 23:15:20 +08:00 committed by GitHub
parent b0577eb4e5
commit aeb53474eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,5 +8,29 @@ export default defineAppConfig({
key: 0, key: 0,
name: 'GKD-空规则组', name: 'GKD-空规则组',
}, },
{
enable: false,
key: 1,
name: 'GKD-批量删除快照',
desc: '删除完成记得回来关闭这条规则哦~',
activityIds: 'li.songe.gkd.MainActivity',
rules: [
{
key: 1,
matches:
'ComposeView > View > View > View > @View[childCount=3] > TextView + TextView + TextView',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12706723',
'https://gkd-kit.gitee.io/import/12706741', // 必须加上 TextView + TextView + TextView否则在这个快照会误触
],
},
{
preKeys: [1],
key: 2,
matches: 'View[childCount=3] > [text="删除"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12706723',
},
],
},
], ],
}); });