mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-08-06 02:33:51 -05:00
Add model detection for Ubuntu Touch
This commit is contained in:
parent
69907f6f8b
commit
5cab401189
2
neofetch
2
neofetch
|
|
@ -1244,7 +1244,7 @@ get_distro() {
|
|||
get_model() {
|
||||
case $os in
|
||||
Linux)
|
||||
if [[ -d /system/app/ && -d /system/priv-app ]]; then
|
||||
if [[ -d /usr/bin/system-image-cli || -d /system/app/ ]]; then
|
||||
model="$(getprop ro.product.brand) $(getprop ro.product.model)"
|
||||
|
||||
elif [[ -f /sys/devices/virtual/dmi/id/board_vendor ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user