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