Skip to content

feat: Edge 功能类-自动打开外部应用#134

Merged
cjy0812 merged 3 commits into
Lin-arm:mainfrom
Chumor:main
Apr 26, 2026
Merged

feat: Edge 功能类-自动打开外部应用#134
cjy0812 merged 3 commits into
Lin-arm:mainfrom
Chumor:main

Conversation

@Chumor
Copy link
Copy Markdown
Contributor

@Chumor Chumor commented Apr 26, 2026

No description provided.

Comment thread src/apps/com.microsoft.emmx.ts Outdated
{
fastQuery: true,
activityIds: 'org.chromium.chrome.browser.ChromeTabbedActivity',
matches: '[vid="button1"][text="打开"][clickable=true]',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用关系选择器防止存在歧义误触,比如你这个只匹配打开,那是否打开新的标签页也算吧是不是?加上[text*="想要打开外部应用"]限定条件可避免

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢提醒,确实这里匹配范围有点宽了,后续会注意

@cjy0812 cjy0812 merged commit 7e3f2e4 into Lin-arm:main Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants