GPU: Now fully works on Windows
This commit is contained in:
parent
b86f014099
commit
f3b3383781
2
fetch
2
fetch
|
@ -661,7 +661,7 @@ getgpu () {
|
||||||
"Windows")
|
"Windows")
|
||||||
gpu=$(wmic path Win32_VideoController get caption)
|
gpu=$(wmic path Win32_VideoController get caption)
|
||||||
gpu=${gpu/Caption /}
|
gpu=${gpu/Caption /}
|
||||||
gpu=${gpu//[[:space:]]/}
|
gpu=${gpu//[[:space:]]/ }
|
||||||
gpu=${gpu// /}
|
gpu=${gpu// /}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Reference in New Issue