Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何区分应用双开后的2个相同packageName的App #230

Open
KID-1912 opened this issue Mar 13, 2024 · 1 comment
Open

如何区分应用双开后的2个相同packageName的App #230

KID-1912 opened this issue Mar 13, 2024 · 1 comment

Comments

@KID-1912
Copy link

如题,有对2个账号执行脚本的需求,考虑通过应用双开实现;
目前问题是双开后的应用在调用 app.lanuch 会弹出选择主app还是副app;
系统设置查看包名发现都是相同的,那么有没有办法区分主副app实现切换账号执行脚本

@wingswing1
Copy link

我的小米双开会有弹窗,可以选择app1或者app2

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

No branches or pull requests

2 participants