From f6ff6cab57e2272ba87906e4b69b5b427035e4d9 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sat, 1 May 2021 04:38:03 +0500 Subject: [PATCH] Added android detection --- osdetect.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osdetect.sh b/osdetect.sh index c4f95cc..033f8f2 100644 --- a/osdetect.sh +++ b/osdetect.sh @@ -10,6 +10,9 @@ elif [ "uname -a | grep -oE Darwin | tail -n1" = "Darwin" ] MAC=true #echo "${red}MacOS Not Supported!${reset}" 1>&2 #exit +elif [ "uname -a | grep -oE Android" = "Android" ] + then + ANDROID=true else : fi