Update 2 files
All checks were successful
Build-Test-Publish / build (linux/arm64) (push) Successful in 43s
Build-Test-Publish / build (linux/amd64) (push) Successful in 26s

This commit is contained in:
j
2026-02-21 22:42:00 +13:00
parent fdde0bc774
commit dc66c950a1
2 changed files with 3 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ fi
# GPU list (may have 0, 1, or multiple)
GPU_JSON="[]"
if command -v lspci &>/dev/null; then
GPU_LINES=$(lspci 2>/dev/null | grep -i 'vga\|3d\|display' | sed 's/^[^ ]* //' || true)
GPU_LINES=$(lspci 2>/dev/null | grep -i 'vga\|3d\|display' | sed 's/^[^ ]* //; s/VGA compatible controller: //; s/3D controller: //; s/Display controller: //' || true)
if [ -n "$GPU_LINES" ]; then
GPU_JSON="["
first=true