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

Commit

Permalink
feat(下载工具箱) :公告弹窗、自动识别解析链接、开通会员弹窗 (#2205)
Browse files Browse the repository at this point in the history
* feat 公告弹窗

* feat 自动识别解析链接

* feat 开通会员弹窗
  • Loading branch information
Snoopy1866 authored Nov 18, 2023
1 parent da399f9 commit dd986ae
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/apps/com.wan.tools.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { defineAppConfig } from '../types';

export default defineAppConfig({
id: 'com.wan.tools',
name: '下载工具箱',
groups: [
{
enable: false,
key: 1,
name: '公告弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: 'LinearLayout[childCount=2] > @[text="取消"] + [text="确认"]',
snapshotUrls: 'https://i.gkd.li/import/13392027',
},
{
enable: false,
key: 2,
name: '自动识别解析链接',
activityIds: 'com.one.downloadtools.ui.activity.HomeActivity',
rules: '@[text="识别解析"] -2 * > [text^="检测到你复制链接"]',
snapshotUrls: 'https://i.gkd.li/import/13392085',
},
{
enable: false,
key: 3,
name: '开通会员弹窗',
activityIds: 'com.one.downloadtools.ui.activity.HomeActivity',
rules: '[text^="开通会员"] < * +n * > [text="暂不"]',
snapshotUrls: 'https://i.gkd.li/import/13392112',
},
],
});

0 comments on commit dd986ae

Please sign in to comment.