refactor: use template (#178)

This commit is contained in:
AIsouler
2024-04-21 18:18:03 +08:00
committed by GitHub
parent 022f6ccbf6
commit 384d0c7f50
1469 changed files with 2335 additions and 17772 deletions

View File

@@ -1,9 +1,8 @@
import { defineAppConfig } from '../types';
import { defineGkdApp } from '@gkd-kit/define';
export default defineAppConfig({
export default defineGkdApp({
id: 'com.tencent.qqlive',
name: '腾讯视频',
deprecatedKeys: [5, 19],
groups: [
{
key: 0,
@@ -208,7 +207,7 @@ export default defineAppConfig({
},
{
key: 3,
name: '居中广告',
name: '居中广告-1',
matches:
'ViewGroup[childCount>10] > FrameLayout[index=10] >4 ImageView[clickable=true][visibleToUser=true][index=1 || index=3]',
snapshotUrls: [
@@ -219,7 +218,7 @@ export default defineAppConfig({
},
{
key: 4,
name: '居中广告',
name: '居中广告-2',
quickFind: true,
matches: '[id="com.tencent.qqlive:id/pause_ad_close"]',
exampleUrls: