GPU: Now fully works on Windows

This commit is contained in:
Dylan 2016-01-19 12:21:20 +11:00
parent f9f32ef28b
commit b86f014099
1 changed files with 3 additions and 1 deletions

4
fetch
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
} }