1
0
mirror of https://github.com/gryf/mc_adbfs.git synced 2025-12-18 12:00:19 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
2776668913 Fix for removing files with space/parentheses.
Also, some further py2 cleanup.
0.14
2020-04-26 09:32:59 +02:00
390f1b1112 Drop Python2 support. 0.13 2020-04-26 09:16:59 +02:00
f7a6b145fd Added new option for trying su command. 2020-04-26 09:06:28 +02:00
9f1a51fdbf Added wrapper on adb shell commands 2020-04-26 09:04:28 +02:00
5ece2d579c Fix bad filenames for Python3.
In Python3, if there are filenames encoded with 8-bit encodings, there
might be an issues with converting them into unicode objects. This is a
workaround on this subject. Python2 is not affected.

Other than that, there was tests added to cover this case, appropriate
Makefile which automate creating venvs for both: Python 2 and 3, and
also there is a check against pep8 rules using flake8.
0.12
2019-05-14 21:14:24 +02:00
63fdc2c605 Removed unused elements
There was some items unused:

- In readme there was misleading entry, unused `skip_dirs` option.
- There was unused Exception class.
2019-05-14 20:43:28 +02:00
e4a4aa8974 Added Python3 compatibility 0.11 2018-03-11 16:09:28 +01:00
755ce62321 Added toybox support 2017-05-24 21:57:19 +02:00
d44050118c Added adb_connect feature 2017-05-21 20:52:56 +02:00
a216b31ef1 Fix for adb_command 2017-05-21 20:47:18 +02:00
1c6a6cfdf8 Added new option for selecting adb executable 0.10 2017-04-29 17:49:19 +02:00
7ce2dd2568 Fix for new version of adb command
Previously it was possible (most probably unintentionally) to perform
command which gives listing of directory contents on the output:

$ adb shell su -c toolbox ls /
acct
cache
charger
config
...

Using such syntax in newer versions of adb, return an error:

$ adb shell su -c toolbox ls /
Unknown id: ls

It is needed to quote argument passed to the 'shell' parameter on adb,
like:

$ adb shell 'su -c "toolbox ls /"'
acct
cache
charger
config
...

This patch fixes this issue for both adb versions.
2017-04-29 17:44:57 +02:00
11f980beb1 Minor code style fixes 2017-04-29 17:30:18 +02:00
bc742ccdf6 Merge remote-tracking branch 'github/master' 2017-03-06 17:12:58 +01:00
7a6a8a499b Added basic support for not rooted devices 2017-03-06 17:10:15 +01:00
b2163e0fba Update README.rst 2016-10-06 18:51:52 +02:00
57509eaac0 Added option for suppressing colors for ls command from busybox 2016-10-06 14:14:28 +02:00
210d7f2962 Added a functionality for accessing single directory 0.9 2016-09-20 20:40:14 +02:00
ae08a7329a Added ability to use config file 0.8 2016-09-18 19:22:50 +02:00
ebef125f38 Added rmmdir command 2016-09-14 18:50:49 +02:00
de5793c672 Fixed error handling, replacing manual commandline parsing with argparse 2016-06-04 18:02:33 +02:00
d1e8f42429 Removing quoting where it is unnecessary 2016-06-04 16:46:06 +02:00
89c783e9cd Added checking for root 2016-06-04 16:19:33 +02:00
7cb2a09282 Added support for toolbox 2016-06-04 16:16:51 +02:00
b63549c181 Quote filenames, removing hardocded adb path 0.7 2015-09-06 19:45:33 +02:00
782906f7b7 Fixed broken directory skipping feature 2015-09-06 19:27:41 +02:00
9ece93b5d8 Added proper symlink treatment 2015-09-05 12:39:20 +02:00
5da8792dcf Working on links, WIP 2015-09-04 20:26:58 +02:00
1872dc0742 Added first implementation for removing things 2015-09-03 21:52:59 +02:00
3d00fcb57a Initial commit 2015-09-02 21:15:13 +02:00