mirror of
https://github.com/dockur/windows.git
synced 2025-04-05 16:32:01 +00:00
feat: Check driver platform
This commit is contained in:
parent
e2be4f6d0c
commit
cb91e8c1cc
@ -726,7 +726,11 @@ addDriver() {
|
|||||||
|
|
||||||
if [ -z "$folder" ]; then
|
if [ -z "$folder" ]; then
|
||||||
desc=$(printVersion "$id" "$id")
|
desc=$(printVersion "$id" "$id")
|
||||||
|
if [[ "${id,,}" != *"x86"* ]]; then
|
||||||
warn "no \"$driver\" driver available for \"$desc\" !" && return 0
|
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
|
fi
|
||||||
|
|
||||||
[ ! -d "$path/$driver/$folder" ] && return 0
|
[ ! -d "$path/$driver/$folder" ] && return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user