Skip to content
This repository was 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
finfou wants to merge 3 commits intoopenatx:masterfrom
finfou:openatx
Open

Replace executable dir from '/data/local/tmp' to current running process's dir#12
finfou wants to merge 3 commits intoopenatx:masterfrom
finfou:openatx

Conversation

@finfou
Copy link
Copy Markdown

@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
Copy Markdown
Member

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

@finfou
Copy link
Copy Markdown
Author

finfou commented Jul 5, 2018

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

@codeskyblue
Copy link
Copy Markdown
Member

em... do you read Chinese?

@finfou
Copy link
Copy Markdown
Author

finfou commented Jul 6, 2018

yes, just haven't chinese input method available.

@codeskyblue
Copy link
Copy Markdown
Member

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

@finfou
Copy link
Copy Markdown
Author

finfou commented Jul 6, 2018

thanks

@codeskyblue codeskyblue force-pushed the master branch 2 times, most recently from fe37099 to f0b847c Compare March 20, 2020 14:52
@codeskyblue codeskyblue force-pushed the master branch 2 times, most recently from a4358c4 to 798d70b Compare April 7, 2024 08:16
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