Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat: 删除问题quickFind (#2985)
Browse files Browse the repository at this point in the history
删除开屏规则[id="com.byted.pangle:id/tt_splash_skip_btn"]的quickFind属性。
快照中[id="com.byted.pangle:id/tt_splash_skip_btn"]可快速查找系GKD标识错误。
- gkd-kit/gkd#369
  • Loading branch information
jiuqianyuan authored Dec 11, 2023
1 parent d6d016d commit d275339
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 44 deletions.
1 change: 0 additions & 1 deletion src/apps/cc.kinva.smartqa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand Down
2 changes: 1 addition & 1 deletion src/apps/cn.com.yunma.school.app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
quickFind: true,
matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/import/13175275',
Expand Down
2 changes: 1 addition & 1 deletion src/apps/cn.xiaochuankeji.zuiyouLite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand All @@ -21,6 +20,7 @@ export default defineAppConfig({
{
key: 1,
name: '【跳过】',
quickFind: true,
matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/import/12745095',
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.UCMobile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13188653',
},
{
quickFind: true,
matches:
'@View[clickable=true] < RelativeLayout <2 FrameLayout < FrameLayout < FrameLayout <4 FrameLayout < [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/import/13197655',
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.baidu.netdisk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default defineAppConfig({
},
{
key: 1,
quickFind: false,
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13538334',
},
Expand Down
6 changes: 3 additions & 3 deletions src/apps/com.chipsea.btcontrol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchLauncher: true,
activityIds: 'com.chipsea.btcontrol.InitActivity',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.byted.pangle.m:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13115472',
},
Expand Down
4 changes: 1 addition & 3 deletions src/apps/com.coolapk.market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ export default defineAppConfig({
rules: [
{
key: 0,
quickFind: false,
matches:
'[id="com.byted.pangle:id/tt_splash_skip_btn"||id="com.byted.pangle.m:id/tt_splash_skip_btn"]',
matches: '[id$="tt_splash_skip_btn"]',
snapshotUrls: [
'https://i.gkd.li/import/12503773',
'https://i.gkd.li/import/13247610',
Expand Down
7 changes: 4 additions & 3 deletions src/apps/com.didapinche.booking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
matchLauncher: true,
quickFind: true,
activityIds: 'com.didapinche.booking.home.activity.StartActivity',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13051862',
},
{
quickFind: true,
matches: '[id="com.didapinche.booking:id/tv_full_skip"]',
snapshotUrls: [
'https://i.gkd.li/import/13051805',
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.diershoubing.erbing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand All @@ -22,6 +21,7 @@ export default defineAppConfig({
},
{
key: 1,
quickFind: true,
matches: '[text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/13538207',
},
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.doc360.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand Down
7 changes: 4 additions & 3 deletions src/apps/com.facetech.konking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: 'com.facetech.konking.MainActivity',
matchLauncher: true,
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
quickFind: true,
matches:
'[id="com.facetech.konking:id/ksad_splash_circle_skip_view"] > [text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/12841078',
Expand Down
7 changes: 4 additions & 3 deletions src/apps/com.feeyo.vz.pro.cdm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: 'com.feeyo.vz.pro.activity.cdm.WelcomeActivity',
matchLauncher: true,
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
Expand All @@ -18,6 +18,7 @@ export default defineAppConfig({
},
{
key: 1,
quickFind: true,
matches:
'[id="com.feeyo.vz.pro.cdm:id/splashAdContainer"] >n [text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/12893753',
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.gfd.ecprint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13579102',
},
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.gkid.crazyrope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand All @@ -17,6 +16,7 @@ export default defineAppConfig({
snapshotUrls: 'https://i.gkd.li/import/12916417',
},
{
quickFind: true,
matches: '[text^="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/import/13028151',
Expand Down
7 changes: 4 additions & 3 deletions src/apps/com.jovetech.CloudSee.temp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
matchLauncher: true,
quickFind: true,
activityIds: 'com.jovision.saas.ui.activity.splash.SplashActivity',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
Expand All @@ -18,6 +18,7 @@ export default defineAppConfig({
},
{
key: 1,
quickFind: true,
matches:
'[id="com.jovetech.CloudSee.temp:id/splash_container"] >n [text^="跳过"]',
snapshotUrls: [
Expand Down
5 changes: 3 additions & 2 deletions src/apps/com.leduoworks.gpstoolbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
matchLauncher: true,
activityIds: 'com.leduoworks.gpstoolbox.newest.StarterActivity',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13062600',
},
Expand Down
3 changes: 1 addition & 2 deletions src/apps/com.luna.music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', // 删除旧规则[id$="/tt_splash_skip_btn"],等出现[id="com.byted.pangle.m:id/tt_splash_skip_btn"] 快照再适配
rules: '[id$="id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13533782',
},
{
Expand Down
3 changes: 1 addition & 2 deletions src/apps/com.msnothing.airpodsking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
matchTime: 10000,
rules: [
{
quickFind: false,
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: ['https://i.gkd.li/import/12908449'],
},
{
quickFind: true,
matches: '[text="跳过"]',
snapshotUrls: ['https://i.gkd.li/import/13607847'],
},
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.naver.linewebtoon.cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand All @@ -19,6 +18,7 @@ export default defineAppConfig({
},
{
key: 1,
quickFind: true,
matches: '[text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/13546265',
},
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.netease.mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
quickFind: true,
matches: '[text*="跳过"][text.length<=10]',
excludeMatches: '[id="com.netease.mail:id/ad_skip"][clickable=false]',
snapshotUrls: [
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.svm.hbyy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
Expand Down
3 changes: 2 additions & 1 deletion src/apps/com.wacai365.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
quickFind: true,
matches: '[id="com.wacai365:id/ksad_splash_circle_skip_view"]',
snapshotUrls: 'https://i.gkd.li/import/13162861',
},
Expand All @@ -27,6 +27,7 @@ export default defineAppConfig({
},
{
key: 2,
quickFind: true,
matches: '[text^="跳过"][text.length<=6]',
snapshotUrls: 'https://i.gkd.li/import/13399124',
},
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.xuexiaoyi.xxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
// quickFind: true, // 会导致无法跳过
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand Down
3 changes: 2 additions & 1 deletion src/apps/com.xyhui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 1,
name: '开屏广告-1',
quickFind: true,
snapshotUrls: [
'https://i.gkd.li/import/12642486',
'https://i.gkd.li/import/12846496',
Expand All @@ -26,6 +26,7 @@ export default defineAppConfig({
{
key: 2,
name: '开屏广告-2',
quickFind: true,
matches: '[id="com.xyhui:id/ms_skipView"]',
snapshotUrls: ['https://i.gkd.li/import/13197417'],
},
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.youloft.calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.youloft.icloser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
quickFind: true,
matches: '[text^="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/import/12910405',
Expand Down
1 change: 0 additions & 1 deletion src/apps/com.zhima.charge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13576613',
},
Expand Down
1 change: 0 additions & 1 deletion src/apps/fit.flutter.dsm_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand Down
1 change: 0 additions & 1 deletion src/apps/moc.nauxuoyoaixoaix.www.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand Down

0 comments on commit d275339

Please sign in to comment.