GPU: Now fully works on Windows

This commit is contained in:
Dylan 2016-01-19 12:21:20 +11:00
parent f9f32ef28b
commit b86f014099

4
fetch
View file

@ -660,7 +660,9 @@ getgpu () {
"Windows")
gpu=$(wmic path Win32_VideoController get caption)
gpu=$(tail -1 <<< ${gpu})
gpu=${gpu/Caption /}
gpu=${gpu//[[:space:]]/}
gpu=${gpu// /}
;;
esac
}