mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 00:05:19 +08:00
feat(联想应用中心): 更新弹窗、请求通知权限弹窗 (#2258)
This commit is contained in:
27
src/apps/com.lenovo.leos.appstore.ts
Normal file
27
src/apps/com.lenovo.leos.appstore.ts
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.lenovo.leos.appstore',
|
||||||
|
name: '联想应用中心',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '更新弹窗',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
quickFind: true,
|
||||||
|
rules:
|
||||||
|
'@[id="com.lenovo.leos.appstore:id/dialog_cancel"] + [text$="版本更新"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13401992',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '请求通知权限弹窗',
|
||||||
|
activityIds:
|
||||||
|
'com.lenovo.leos.appstore.activities.NotificationGuideActivity',
|
||||||
|
quickFind: true,
|
||||||
|
rules: '[text$="打开应用中心通知"] +n [text="知道了"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13401991',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user