From: Edward Delaporte Date: Mon, 29 Dec 2025 17:29:54 +0000 (-0600) Subject: Add Android invoke file X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/4d0ecf2524a5a3a38c542b8b5b50f9229d9545be?ds=inline Add Android invoke file --- diff --git a/invoke/android/tasks.py b/invoke/android/tasks.py new file mode 100644 index 0000000..ff62675 --- /dev/null +++ b/invoke/android/tasks.py @@ -0,0 +1,19 @@ +from invoke import task + +@task() +def defaults(c): + c.run('update-alternatives --config gnome-www-browser') + +@task +def install_adb(c): + c.run('sudo apt-get install adb') + + +@task +def status(c): + print("Running a status check.") + result = c.run('which adb', warn=True) + if(len(result.stdout) == 0): + print("- [ ] Install `adb` with `invoke install-adb`") + +