From bd5afdf176ca0b6a4eb76facd38e89972dee4a6b Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 14 Nov 2024 02:23:15 +0100 Subject: [PATCH] fix: Disable Windows 10 detection --- src/proc.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/proc.sh b/src/proc.sh index 1494e25..25c15b0 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -46,13 +46,9 @@ if [[ "$KVM" != [Nn]* ]]; then if [[ "$OSTYPE" =~ ^darwin ]]; then warn "you are using MacOS which has no KVM support, this will cause a major loss of performance." else - if grep -qi Microsoft /proc/version; then - warn "you are using Windows 10 which has no KVM support, this will cause a major loss of performance." - else - error "KVM acceleration not available $KVM_ERR, this will cause a major loss of performance." - error "See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended)." - [[ "$DEBUG" != [Yy1]* ]] && exit 88 - fi + error "KVM acceleration not available $KVM_ERR, this will cause a major loss of performance." + error "See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended)." + [[ "$DEBUG" != [Yy1]* ]] && exit 88 fi fi