Skip to content

Commit

Permalink
fix(WPS): 一些规则(gkd-kit#967)
Browse files Browse the repository at this point in the history
- 首页-文档列表广告规则优化
- 升级提示
  • Loading branch information
aoguai committed Oct 12, 2023
1 parent d2840b5 commit 452e9f5
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/apps/cn.wps.moffice_eng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ export default defineAppConfig({
],
rules: [
{
matches: '[text="关闭当前广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12505365',
matches: '[text="关闭当前广告"||text="不喜欢此广告"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12505365',
'https://gkd-kit.songe.li/import/12882277',
],
},
{
matches: '[id$="/nativeclose"]',
Expand All @@ -34,5 +37,15 @@ export default defineAppConfig({
},
],
},
{
enable: false,
key: 2,
name: '升级提示',
activityIds:
'com.android.packageinstaller.permission.ui.GrantPermissionsActivity',
rules:
'[id="cn.wps.moffice_eng:id/close_new_func_guide_dialog_imageView"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12882371',
},
],
});

0 comments on commit 452e9f5

Please sign in to comment.