Skip to content

fix:adb push fail#1271

Open
e790a8 wants to merge 6 commits into
AirtestProject:masterfrom
e790a8:master
Open

fix:adb push fail#1271
e790a8 wants to merge 6 commits into
AirtestProject:masterfrom
e790a8:master

Conversation

@e790a8

@e790a8 e790a8 commented Jan 13, 2025

Copy link
Copy Markdown
Contributor

1、push无后缀的文件是,被当做非文件了,因此将是否文件的判断由后缀改为os.path.isfile(local)
adb push airtest\core\android\static\stf_libs\arm64-v8a\minicap /data/local/tmp/minicap
2、""会导致/无法被当做通配符,到时cp失败
**f'cp -frp "{tmp_path}/
" "{remote}"'**

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.

1 participant