Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Replace executable dir from '/data/local/tmp' to current running process's dir #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

finfou
Copy link

@finfou finfou commented Jul 4, 2018

'/data/local/tmp' can be readonly on some special device like, ZUK Z2 (mostly lenovo devices), the solution is to change it to the dir of running binary, which is sure to have executable permission.

Something I'm not very confident is "/data/local/tmp/minicap-images", which looks like a data directory, I'm not sure it's usage, but in my local verification:
curl -X PUT http://someurl:7912/minitcap // install ok
curl -X PUT http://someurl:7012/minitouch // install ok
curl -X GET http://someurl:7912/screenshot/0 // get screenshot ok

@codeskyblue
Copy link
Member

Thanks for you pr. I need to make more tests before merege.

@finfou
Copy link
Author

finfou commented Jul 5, 2018

Sure, btw, how is uiautomator2's support for web & H5 application, any introduction or plan?

@codeskyblue
Copy link
Member

em... do you read Chinese?

@finfou
Copy link
Author

finfou commented Jul 6, 2018

yes, just haven't chinese input method available.

@codeskyblue
Copy link
Member

read this article abount how to do webview https://testerhome.com/topics/12599

@finfou
Copy link
Author

finfou commented Jul 6, 2018

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants