From 6f551e012a3f5251a47926a4b1e0e89f51a290c2 Mon Sep 17 00:00:00 2001 From: extraSix Date: Sat, 18 Jul 2026 10:56:02 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat(=E9=9B=85=E8=BF=AA=E6=99=BA=E8=A1=8C):?= =?UTF-8?q?=20=E6=9D=83=E9=99=90=E6=8F=90=E7=A4=BA-=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.yadea.smartmoto.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/apps/com.yadea.smartmoto.ts diff --git a/src/apps/com.yadea.smartmoto.ts b/src/apps/com.yadea.smartmoto.ts new file mode 100644 index 000000000..b2cb922a3 --- /dev/null +++ b/src/apps/com.yadea.smartmoto.ts @@ -0,0 +1,24 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.yadea.smartmoto', + name: '雅迪智行', + groups: [ + { + key: 0, + name: '权限提示-通知权限', + actionMaximum: 1, + matchTime: 10000, + resetMatch: 'app', + fastQuery: true, + activityIds: [ + 'com.yadea.smartmoto.ui.home.HomeActivity' + ], + rules: [ + { + matches: '[id="com.yadea.smartmoto:id/tv_cancel"]', + }, + ], + }, + ], +}); From c5d8d5dc166feb56baae50473185a2238a420a44 Mon Sep 17 00:00:00 2001 From: extraSix Date: Sat, 18 Jul 2026 12:59:36 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix(=E9=9B=85=E8=BF=AA=E6=99=BA=E8=A1=8C):?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0snapshotUrls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.yadea.smartmoto.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/com.yadea.smartmoto.ts b/src/apps/com.yadea.smartmoto.ts index b2cb922a3..612107af4 100644 --- a/src/apps/com.yadea.smartmoto.ts +++ b/src/apps/com.yadea.smartmoto.ts @@ -17,6 +17,9 @@ export default defineGkdApp({ rules: [ { matches: '[id="com.yadea.smartmoto:id/tv_cancel"]', + snapshotUrls: [ + 'https://i.gkd.li/i/30144136', + ], }, ], }, From a52a11a9ffbdcb20828255ecb784617360c4eb77 Mon Sep 17 00:00:00 2001 From: extraSix Date: Sat, 18 Jul 2026 13:13:22 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix(=E9=9B=85=E8=BF=AA=E6=99=BA=E8=A1=8C):?= =?UTF-8?q?=20activityIds=20snapshotUrls=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.yadea.smartmoto.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/apps/com.yadea.smartmoto.ts b/src/apps/com.yadea.smartmoto.ts index 612107af4..c4f2caee0 100644 --- a/src/apps/com.yadea.smartmoto.ts +++ b/src/apps/com.yadea.smartmoto.ts @@ -11,15 +11,11 @@ export default defineGkdApp({ matchTime: 10000, resetMatch: 'app', fastQuery: true, - activityIds: [ - 'com.yadea.smartmoto.ui.home.HomeActivity' - ], + activityIds: 'com.yadea.smartmoto.ui.home.HomeActivity', rules: [ { matches: '[id="com.yadea.smartmoto:id/tv_cancel"]', - snapshotUrls: [ - 'https://i.gkd.li/i/30144136', - ], + snapshotUrls: 'https://i.gkd.li/i/30144136', }, ], }, From 32161d989685edc092298a589e3694d248af88b6 Mon Sep 17 00:00:00 2001 From: Lin-arm <85251920+Lin-arm@users.noreply.github.com> Date: Sat, 18 Jul 2026 13:18:22 +0800 Subject: [PATCH 4/4] =?UTF-8?q?perf:=20=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.yadea.smartmoto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/com.yadea.smartmoto.ts b/src/apps/com.yadea.smartmoto.ts index c4f2caee0..40aa8f88f 100644 --- a/src/apps/com.yadea.smartmoto.ts +++ b/src/apps/com.yadea.smartmoto.ts @@ -11,10 +11,10 @@ export default defineGkdApp({ matchTime: 10000, resetMatch: 'app', fastQuery: true, - activityIds: 'com.yadea.smartmoto.ui.home.HomeActivity', + activityIds: '.main.view.MainActivity', rules: [ { - matches: '[id="com.yadea.smartmoto:id/tv_cancel"]', + matches: '[vid="tv_cancel"]', snapshotUrls: 'https://i.gkd.li/i/30144136', }, ],