mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
* feat(全能计算器):弹窗广告 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> close #2165
38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import { defineAppConfig } from '../types';
|
||
|
||
export default defineAppConfig({
|
||
id: 'com.jincheng.supercaculator',
|
||
name: '全能计算器',
|
||
groups: [
|
||
{
|
||
key: 0,
|
||
name: '弹窗广告',
|
||
desc: '点击右上角x',
|
||
rules: [
|
||
{
|
||
activityIds: 'com.jincheng.supercaculator.activity.MainActivity',
|
||
matches: '@Image < View < View TextView[text = "反馈"]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/import/12859523',
|
||
'https://i.gkd.li/import/12859545',
|
||
],
|
||
},
|
||
{
|
||
activityIds: 'com.jincheng.supercaculator.activity.SplashActivity',
|
||
matches:
|
||
'TextView < LinearLayout[childCount=2] < FrameLayout[childCount=2] > FrameLayout[childCount=1] > ImageView',
|
||
snapshotUrls: ['https://i.gkd.li/import/13261870'],
|
||
},
|
||
{
|
||
// 与"咕咚"app快照类似,https://i.gkd.li/import/13348663 ,可能来自同个sdk
|
||
activityIds:
|
||
'com.jincheng.supercaculator.activity.basic.CalculatorActivity',
|
||
matches:
|
||
'[id="android:id/content"] >4 FrameLayout > ImageView + FrameLayout > ImageView',
|
||
snapshotUrls: 'https://i.gkd.li/import/13378847',
|
||
},
|
||
],
|
||
},
|
||
],
|
||
});
|