From cb91e8c1cc1364942f71bceec3f7c582a53d4bce Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 20 Mar 2025 17:19:11 +0100 Subject: [PATCH] feat: Check driver platform --- src/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index a473e7b..2509c30 100644 --- a/src/install.sh +++ b/src/install.sh @@ -726,7 +726,11 @@ addDriver() { if [ -z "$folder" ]; then desc=$(printVersion "$id" "$id") - warn "no \"$driver\" driver available for \"$desc\" !" && return 0 + if [[ "${id,,}" != *"x86"* ]]; then + warn "no \"$driver\" driver available for \"$desc\" !" && return 0 + else + warn "no \"$driver\" driver available for the 32-bit version of \"$desc\" !" && return 0 + fi fi [ ! -d "$path/$driver/$folder" ] && return 0