aboutsummaryrefslogtreecommitdiff
path: root/better-adb-sync
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-23 16:53:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-23 16:53:29 -0300
commit7c97d1f94d5774a53892297a1bc4b168595b93a7 (patch)
treeee8de97244e9ad941fbb9ef14778b91595c692b8 /better-adb-sync
parentb2863aca90ce8dfc70e1b004795dcc7d7ea4528e (diff)
downloadutils-android-7c97d1f94d5774a53892297a1bc4b168595b93a7.tar.gz
utils-android-7c97d1f94d5774a53892297a1bc4b168595b93a7.tar.bz2
Feat: adds better-adb-sync
Diffstat (limited to 'better-adb-sync')
-rwxr-xr-xbetter-adb-sync16
1 files changed, 16 insertions, 0 deletions
diff --git a/better-adb-sync b/better-adb-sync
new file mode 100755
index 0000000..30ef2a5
--- /dev/null
+++ b/better-adb-sync
@@ -0,0 +1,16 @@
+#!/usr/bin/env python3
+#
+# Wrapper so better-adb-sync don't need to be installed through pip or virtualenv.
+#
+# This way we can control exactly which version (though the repository SHA-1
+# commit version).
+#
+# For discussion on pros and cons of this approach, check
+# https://stackoverflow.com/questions/9059699/use-a-library-locally-instead-of-installing-it#9059783
+#
+
+# Load better-adb-sync
+from vendor.better_adb_sync.src.BetterADBSync import main
+
+# Dispatch
+main()