From 3bcdfa274e94408f2d4695a76aecc991a26471d5 Mon Sep 17 00:00:00 2001 From: ShiroKSH Date: Tue, 14 Jul 2026 18:11:18 +0300 Subject: [PATCH] fix(quickemu): defer guest QEMU lookup --- quickemu | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/quickemu b/quickemu index 9b65359..3debc56 100755 --- a/quickemu +++ b/quickemu @@ -2599,14 +2599,10 @@ readonly LAUNCHER=$(basename "${0}") readonly DISK_MIN_SIZE=$((197632 * 8)) readonly VERSION="4.9.9" -# Default architecture is x86_64, can be overridden by config file (arch="aarch64") -arch="${arch:-x86_64}" -ARCH_VM="${arch}" ARCH_HOST=$(uname -m) -QEMU=$(command -v "qemu-system-${ARCH_VM}") QEMU_IMG=$(command -v qemu-img) -if [ ! -x "${QEMU}" ] || [ ! -x "${QEMU_IMG}" ]; then - echo "ERROR! QEMU not found. Please make sure 'qemu-system-${ARCH_VM}' and 'qemu-img' are installed." +if [ ! -x "${QEMU_IMG}" ]; then + echo "ERROR! qemu-img not found. Please make sure qemu-img is installed." exit 1 fi