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

StartApp 添加参数(? #548

Open
Windsland52 opened this issue Feb 18, 2025 · 2 comments
Open

StartApp 添加参数(? #548

Windsland52 opened this issue Feb 18, 2025 · 2 comments

Comments

@Windsland52
Copy link
Member

MaaXYZ/M9A#332

这里 Waydroid 貌似要用参数启动,目前不知道是不是要再加个参数(但是只有这个模拟器需要参数),还是说单独适配这个模拟器

@MistEO
Copy link
Member

MistEO commented Feb 18, 2025

有什么方法判断是 Waydroid 吗?@Ezer015

@Ezer015
Copy link

Ezer015 commented Feb 18, 2025

adb shell getprop | grep waydroid

部分输出:

[ro.board.platform]: [waydroid]
[ro.build.product]: [waydroid_x86_64]
[ro.lineage.device]: [waydroid_x86_64]
[ro.product.brand]: [waydroid]
[ro.product.device]: [waydroid_x86_64]
[ro.product.odm.brand]: [waydroid]
[ro.product.odm.device]: [waydroid_x86_64]
[ro.product.product.brand]: [waydroid]
[ro.product.product.device]: [waydroid_x86_64]
[ro.product.system.brand]: [waydroid]
[ro.product.system.device]: [waydroid_x86_64]
[ro.product.system_ext.brand]: [waydroid]
[ro.product.system_ext.device]: [waydroid_x86_64]
[ro.product.vendor.brand]: [waydroid]
[ro.product.vendor.device]: [waydroid_x86_64]

或可使用 ro.product.brand == "waydroid" 用于检测 Waydroid @MistEO

Reference

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

3 participants