GPU: Now fully works on Windows

This commit is contained in:
Dylan committed 2016-01-19 12:21:20 +11:00
1 parent f9f32ef28b
commit b86f014099
1 file changed
+3 -1
+3 -1
View File
@@ -660,7 +660,9 @@ getgpu () {
"Windows") "Windows")
gpu=$(wmic path Win32_VideoController get caption) gpu=$(wmic path Win32_VideoController get caption)
gpu=$(tail -1 <<< ${gpu}) gpu=${gpu/Caption /}
gpu=${gpu//[[:space:]]/}
gpu=${gpu// /}
;; ;;
esac esac
} }