mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
feat(应用安装器): 自动安装应用 (#1236)
This commit is contained in:
36
src/apps/com.oplus.appdetail.ts
Normal file
36
src/apps/com.oplus.appdetail.ts
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.oplus.appdetail',
|
||||||
|
name: '应用安装器',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
enable: false,
|
||||||
|
key: 1,
|
||||||
|
name: '自动安装应用',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
desc: '点击【继续安装】',
|
||||||
|
activityIds:
|
||||||
|
'com.oplus.appdetail.model.guide.ui.InstallGuideActivity',
|
||||||
|
matches:
|
||||||
|
'[id="com.oplus.appdetail:id/view_bottom_guide_continue_install_btn"]',
|
||||||
|
excludeMatches:
|
||||||
|
'[id="com.oplus.appdetail:id/view_scanning_and_tip_view_tv_title"]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.songe.li/import/13038560', // 使用 excludeMatches,扫描病毒阶段不进行点击
|
||||||
|
'https://gkd-kit.songe.li/import/13038570',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
desc: '点击【完成】',
|
||||||
|
activityIds: 'com.oplus.appdetail.model.finish.InstallFinishActivity',
|
||||||
|
matches: '[id="com.oplus.appdetail:id/launch_button"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.songe.li/import/13038664',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user