From 4ee0737d10ae5bef4559d67f42f44d61942d5015 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sun, 23 Oct 2022 22:09:13 +0000 Subject: [PATCH] Meta: Default to the SDL QEMU frontend on SerenityOS We don't yet have anything else than SDL, and certainly not GTK. --- Meta/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Meta/run.sh b/Meta/run.sh index d8bb860f5b..6d33482dc5 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -196,6 +196,8 @@ elif ! command -v wslpath >/dev/null && ("${SERENITY_QEMU_BIN}" --display help | elif "${SERENITY_QEMU_BIN}" --display help | grep -iq cocoa; then # QEMU for OSX seems to only support cocoa SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-cocoa,gl=off}" +elif [ "$(uname -s)" = "SerenityOS" ]; then + SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-sdl,gl=off}" else SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-gtk,gl=off}" fi