Fix detection script on macos
This fixes the script on macos
This commit is contained in:
parent
a407c9f014
commit
54fa77facc
|
@ -31,6 +31,8 @@ def check_gpu():
|
||||||
return "NVIDIA"
|
return "NVIDIA"
|
||||||
else:
|
else:
|
||||||
return "Unknown"
|
return "Unknown"
|
||||||
|
else:
|
||||||
|
return "Unknown"
|
||||||
else:
|
else:
|
||||||
# If the `lspci` command is available, use it to get the GPU vendor and model information
|
# If the `lspci` command is available, use it to get the GPU vendor and model information
|
||||||
output = os.popen("lspci | grep -i vga").read()
|
output = os.popen("lspci | grep -i vga").read()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user