mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
feat(软件包安装程序、QQ):优化规则
This commit is contained in:
@@ -6,7 +6,7 @@ export default defineAppConfig({
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '更新弹窗',
|
||||
name: '更新提示',
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
|
||||
@@ -20,16 +20,16 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
activityIds: 'com.android.packageinstaller.NewInstallInstalling',
|
||||
matches: [
|
||||
'@[clickable=true][childCount=1] > [text="完成"]',
|
||||
'[id="com.android.packageinstaller:id/done_button"][clickable=true]',
|
||||
activityIds: [
|
||||
'com.android.packageinstaller.NewInstallInstalling',
|
||||
'com.android.packageinstaller.InstallSuccess',
|
||||
],
|
||||
matches: '[text="完成"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13206476', //规则1
|
||||
//规则2
|
||||
'https://i.gkd.li/import/13206476',
|
||||
'https://i.gkd.li/import/13766420',
|
||||
'https://i.gkd.li/import/13962438', //text=null
|
||||
'https://i.gkd.li/import/13962438',
|
||||
'https://i.gkd.li/import/14138323',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -379,21 +379,16 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
|
||||
quickFind: true,
|
||||
matches: '[id="com.tencent.mobileqq:id/iyx"]',
|
||||
matches:
|
||||
'[text*="版本更新" || text*="点击下载"] + ImageView[clickable=true]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13188722',
|
||||
'https://i.gkd.li/import/13255493', //desc值为null快照
|
||||
'https://i.gkd.li/import/13843140', //关系选择器为-2快照
|
||||
'https://i.gkd.li/import/14138340',
|
||||
'https://i.gkd.li/import/13931212',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
|
||||
matches:
|
||||
'[text="发现QQ版本更新"] + [text="点击下载"] + ImageView[clickable=true]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13931212',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user