GPU: Now fully works on Windows
This commit is contained in:
parent
b86f014099
commit
f3b3383781
1 changed files with 1 additions and 1 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue