mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(铁路12306): 权限提示-定位权限 (#357)
Co-authored-by: AIsouler <zy43220@gmail.com>
This commit is contained in:
25
src/apps/com.chinarailway.globalticketing.ts
Normal file
25
src/apps/com.chinarailway.globalticketing.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { defineGkdApp } from '@gkd-kit/define';
|
||||
|
||||
export default defineGkdApp({
|
||||
id: 'com.chinarailway.globalticketing',
|
||||
name: '铁路12306',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '权限提示-定位权限',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.com.MobileTicket.ui.activity.MainActivity',
|
||||
matches:
|
||||
'[text^="开启定位权限"] +2 [vid="fl_close"] > [vid="img_close"]',
|
||||
exampleUrls: 'https://e.gkd.li/95c8443e-babc-4d96-a3cd-00692c2acf30',
|
||||
snapshotUrls: 'https://i.gkd.li/i/16987292',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user