From ea86cbd4de02adbbbc129a41eb67ff5d14b8c6c2 Mon Sep 17 00:00:00 2001 From: simono41 Date: Wed, 11 Oct 2017 02:28:44 +0200 Subject: [PATCH] android-apk-installer --- .gitignore | 2 ++ android-app-installer.sh | 21 +++++++++++++++++++++ test1.apk | 0 3 files changed, 23 insertions(+) create mode 100755 android-app-installer.sh create mode 100644 test1.apk diff --git a/.gitignore b/.gitignore index 995a683..db950ec 100755 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ packages test +test.apk +test2.apk diff --git a/android-app-installer.sh b/android-app-installer.sh new file mode 100755 index 0000000..8dd63a8 --- /dev/null +++ b/android-app-installer.sh @@ -0,0 +1,21 @@ +#!/system/xbin/bash + +finds=$(find $1*.apk) + +set -x + +i=0 +for wort in $finds +do + + echo "Installiere $wort" + + pm install $wort + + shift +done + +sync + +echo "Fertig!!!" + diff --git a/test1.apk b/test1.apk new file mode 100644 index 0000000..e69de29