Fix blank model output on Windows
This commit is contained in:
parent
e590ddc10f
commit
6ede242b1c
2
neofetch
2
neofetch
|
@ -101,7 +101,7 @@ getmodel() {
|
||||||
model="$(wmic computersystem get manufacturer,model /value)"
|
model="$(wmic computersystem get manufacturer,model /value)"
|
||||||
model="${model/Manufacturer'='}"
|
model="${model/Manufacturer'='}"
|
||||||
model="${model/Model'='}"
|
model="${model/Model'='}"
|
||||||
model="${model//To Be Filled*}"
|
model="${model//*To Be Filled*}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Solaris")
|
"Solaris")
|
||||||
|
|
Reference in New Issue