feat(稀饭动漫): 开屏广告 (#1462)

* feat 开屏广告

* feat 广告弹窗
This commit is contained in:
Kun Jinkao 2023-10-28 23:04:38 +08:00 committed by GitHub
parent acdad269f8
commit 4f72cc8cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
src/apps/com.xfani.app.ts Normal file
View File

@ -0,0 +1,23 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xfani.app',
name: '稀饭动漫',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: 'com.xfani.app.MainActivity',
matchLauncher: true,
rules: 'TextView[text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/13188526',
},
{
key: 1,
name: '广告弹窗',
activityIds: 'com.xfani.app.MainActivity',
rules: 'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView',
snapshotUrls: 'https://i.gkd.li/import/13188550',
},
],
});