Fix detection script on macos

This fixes the script on macos
This commit is contained in:
DaniAndTheWeb
2023-01-14 12:10:45 +01:00
committed by GitHub
parent a407c9f014
commit 54fa77facc

View File

@@ -31,6 +31,8 @@ def check_gpu():
return "NVIDIA"
else:
return "Unknown"
else:
return "Unknown"
else:
# If the `lspci` command is available, use it to get the GPU vendor and model information
output = os.popen("lspci | grep -i vga").read()