mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-04-24 03:00:16 -04:00
Re-enable Android check
/system/build.prop is an essential and appearently Android-exclusive file, so this check should be quite reliable.
This commit is contained in:
@@ -4847,15 +4847,15 @@ if [[ "$overrideDisplay" ]]; then
|
||||
fi
|
||||
|
||||
# Check for android
|
||||
#if type -p getprop >/dev/null 2>&1; then
|
||||
# distro="Android"
|
||||
# detectmem
|
||||
# detectuptime
|
||||
# detectkernel
|
||||
# detectdroid
|
||||
# infoDisplay
|
||||
# exit 0
|
||||
#fi
|
||||
if [ -f /system/build.prop ]; then
|
||||
distro="Android"
|
||||
detectmem
|
||||
detectuptime
|
||||
detectkernel
|
||||
detectdroid
|
||||
infoDisplay
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for i in "${display[@]}"; do
|
||||
if [[ ! "$i" == "" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user