From 140792074762a4d3c2ff895a713d4ba85e866538 Mon Sep 17 00:00:00 2001 From: marlonivo Date: Mon, 14 Apr 2025 09:06:48 +0000 Subject: initial --- android/sharks.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 android/sharks.sh (limited to 'android/sharks.sh') diff --git a/android/sharks.sh b/android/sharks.sh new file mode 100644 index 0000000..84eb90a --- /dev/null +++ b/android/sharks.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# Install from Applist progs.csv +tail -n +2 progs.csv | while IFS=, read -r id name description; do + if [ -n "$id" ]; then + # Überprüfen, ob die App bereits installiert ist + if ! fdroidcl list | grep -q "$id"; then + echo "Installing $name via F-Droid..." + fdroidcl install "$id" + else + echo "$name is already installed. Skipping..." + fi + fi +done + +# pull app data +data="/data/data" +git="https://github.com/marlonivo/rice/raw/main/android/data/data" + +# script +adb shell mkdir -p "$data" +curl -sSL "$git" | while read -r file; do + adb push "$file" "$data/" +done + +echo "DONE!" -- cgit v1.2.3