feat(知网文化): 开屏广告, 更新弹窗 (#497)

This commit is contained in:
Kun Jinkao 2023-09-29 23:51:33 +08:00 committed by GitHub
parent 5b87c5681b
commit 2def345a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
src/apps/com.cnki.view.ts Normal file
View File

@ -0,0 +1,28 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.cnki.view',
name: '知网文化',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: 'com.cnki.view.core.tramp.main.SplashActivity',
rules: '[id="com.cnki.view:id/tv_advert_skip"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12755696',
},
{
key: 1,
name: '更新弹窗',
activityIds: [
'com.cnki.view.core.navigator.main.HomeActivity',
'com.cnki.view.core.tramp.main.SplashActivity',
],
rules: '[id="com.cnki.view:id/update_undo"]',
snapshotUrls: [
'https://gkd-kit.songe.li/import/12755689', // activityId: 'com.cnki.view.core.navigator.main.HomeActivity'
'https://gkd-kit.songe.li/import/12755700', // activityId: 'com.cnki.view.core.tramp.main.SplashActivity'
],
},
],
});