generated from gkd-kit/subscription-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
import { defineGkdApp } from '@gkd-kit/define'; | ||
|
||
export default defineGkdApp({ | ||
id: 'com.mihoyo.hyperion', | ||
name: '米游社', | ||
groups: [ | ||
{ | ||
key: 1, | ||
name: '功能类-崩坏三自动签到', | ||
desc: '点击签到-关闭弹窗-返回', | ||
forcedTime: 5000, | ||
activityIds: 'com.mihoyo.hyperion.web2.MiHoYoWebActivity', | ||
rules: [ | ||
{ | ||
key: 0, | ||
name: '点击签到', | ||
matches: '[clickable=true] + [childCount=3] + [text=""]', | ||
exampleUrls: 'https://e.gkd.li/d9200396-df61-4a3b-8f86-973977c19621', | ||
|
||
snapshotUrls: [ | ||
'https://i.gkd.li/i/17483577', | ||
'https://i.gkd.li/i/17452726', | ||
], | ||
}, | ||
{ | ||
preKeys: 0, | ||
key: 1, | ||
name: '关闭签到后的弹窗', | ||
matches: '[text="【崩坏3】每日签到"] >3 TextView[visibleToUser=true]', | ||
exampleUrls: 'https://e.gkd.li/d335b286-9776-4193-a7bb-ad5702241111', | ||
snapshotUrls: [ | ||
'https://i.gkd.li/i/17452725', | ||
'https://i.gkd.li/i/14967631', // clickable=false | ||
], | ||
}, | ||
{ | ||
preKeys: 1, | ||
key: 2, | ||
name: '返回上一个页面', | ||
matches: | ||
'[text="【崩坏3】每日签到"] > View > View[index=0] >3 TextView[clickable=true]', | ||
exampleUrls: 'https://e.gkd.li/62322e24-e53a-4f79-ab4d-411e5c902651', | ||
snapshotUrls: 'https://i.gkd.li/i/17452951', | ||
}, | ||
], | ||
}, | ||
{ | ||
key: 2, | ||
name: '功能类-绝区零自动签到', | ||
desc: '点击签到-关闭弹窗-返回', | ||
forcedTime: 5000, | ||
activityIds: 'com.mihoyo.hyperion.web2.MiHoYoWebActivity', | ||
rules: [ | ||
{ | ||
key: 0, | ||
name: '点击签到', | ||
matches: '[clickable=true] + [childCount=3] + [text=""]', | ||
exampleUrls: 'https://e.gkd.li/262a5337-fc3f-4201-8cba-a2671abdfa32', | ||
snapshotUrls: 'https://i.gkd.li/i/17483891', | ||
}, | ||
{ | ||
preKeys: 0, | ||
key: 1, | ||
name: '关闭签到后的弹窗', | ||
matches: | ||
'[text="【绝区零】每日签到"] >3 TextView[visibleToUser=true]', | ||
exampleUrls: 'https://e.gkd.li/fb4e5265-ae7d-47d1-a4c2-4ce5c3c42deb', | ||
snapshotUrls: 'https://i.gkd.li/i/17484071', | ||
}, | ||
{ | ||
preKeys: 1, | ||
key: 2, | ||
name: '返回上一个页面', | ||
matches: | ||
'[text="【绝区零】每日签到"] > View > View[index=0] >3 TextView[clickable=true]', | ||
exampleUrls: 'https://e.gkd.li/262a5337-fc3f-4201-8cba-a2671abdfa32', | ||
snapshotUrls: 'https://i.gkd.li/i/17483891', | ||
}, | ||
], | ||
}, | ||
], | ||
}); |