1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-28 10:36:31 +08:00

Merge pull request #2331 from xausky/master

Fix lanuch game in no physical keys device
This commit is contained in:
LmeSzinc
2023-03-07 18:04:36 +08:00
committed by GitHub

View File

@@ -242,7 +242,7 @@ class Adb(Connection):
package_name = self.package
result = self.adb_shell([
'monkey', '-p', package_name, '-c',
'android.intent.category.LAUNCHER', '1'
'android.intent.category.LAUNCHER', '--pct-syskeys', '0', '1'
])
if 'No activities found' in result:
# ** No activities found to run, monkey aborted.