Commit 8f0bb0fc authored by Dylan Araps's avatar Dylan Araps

GPU: Disable caching on all systems but macOS. Fixes #509

parent 461a5692
...@@ -971,6 +971,7 @@ get_gpu() { ...@@ -971,6 +971,7 @@ get_gpu() {
gpu="$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}')" gpu="$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}')"
gpu="${gpu//'/ $'}" gpu="${gpu//'/ $'}"
gpu="${gpu%,*}" gpu="${gpu%,*}"
cache "gpu" "$gpu"
;; ;;
"iPhone OS") "iPhone OS")
...@@ -1035,8 +1036,6 @@ get_gpu() { ...@@ -1035,8 +1036,6 @@ get_gpu() {
gpu="${gpu/NVIDIA}" gpu="${gpu/NVIDIA}"
gpu="${gpu/Intel}" gpu="${gpu/Intel}"
fi fi
cache "gpu" "$gpu"
} }
get_memory() { get_memory() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment