Skip to content

Commit

Permalink
perf(小红书): 更新提示 (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuqianyuan authored Jan 2, 2025
1 parent d346068 commit 98993c9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/apps/com.xingin.xhs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ export default defineGkdApp({
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
activityIds: [
'.index.v2.IndexActivityV2',
'com.xingin.update.UpdateDialogActivity',
],
rules: [
{
key: 0,
activityIds: [
'.index.v2.IndexActivityV2',
'com.xingin.update.UpdateDialogActivity',
],
matches: '@ImageView <2 * + * > [text="NEW"]',
snapshotUrls: [
'https://i.gkd.li/i/13246890',
Expand All @@ -93,9 +93,12 @@ export default defineGkdApp({
},
{
key: 1,
activityIds: '.index.v2.IndexActivityV2',
matches: 'Button[text="立即安装"] + Button[text="稍后再说"]',
snapshotUrls: 'https://i.gkd.li/i/15283162',
exampleUrls: 'https://e.gkd.li/7064a569-fcdd-44e2-b4d1-c55e093f4a02',
snapshotUrls: [
'https://i.gkd.li/i/15283162',
'https://i.gkd.li/i/18289347',
],
},
],
},
Expand Down

0 comments on commit 98993c9

Please sign in to comment.