From 998a75573597f86a6d27f945debf454d25b82e5b Mon Sep 17 00:00:00 2001 From: dasbd72 Date: Fri, 20 Mar 2026 11:41:33 +0800 Subject: [PATCH] Fix issue when renderD with zero fails the script --- waydroid-choose-gpu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waydroid-choose-gpu.sh b/waydroid-choose-gpu.sh index 3562896..7304f83 100755 --- a/waydroid-choose-gpu.sh +++ b/waydroid-choose-gpu.sh @@ -27,7 +27,7 @@ ls -l /dev/dri/by-path/ | grep -i $gpuchoice echo "" card=$(ls -l /dev/dri/by-path/ | grep -i $gpuchoice | grep -o "card[0-9]") -rendernode=$(ls -l /dev/dri/by-path/ | grep -i $gpuchoice | grep -o "renderD[1-9][1-9][1-9]") +rendernode=$(ls -l /dev/dri/by-path/ | grep -i $gpuchoice | grep -o "renderD[0-9][0-9][0-9]") echo /dev/dri/$card echo /dev/dri/$rendernode