From 6bbf33a7c806b1d1e6757a8251e7202d7a0bc91a Mon Sep 17 00:00:00 2001 From: icenine451 Date: Mon, 11 Mar 2024 08:41:25 -0400 Subject: [PATCH] Update Deck check to include Deck OLED --- functions/checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/checks.sh b/functions/checks.sh index 5934d265..c8e91a2a 100644 --- a/functions/checks.sh +++ b/functions/checks.sh @@ -32,7 +32,7 @@ check_is_steam_deck() { # This function will check the internal product ID for the Steam Deck codename and return "true" if RetroDECK is running on a real Deck # USAGE: if [[ $(check_is_steam_deck) == "true" ]]; then - if [[ $(cat /sys/devices/virtual/dmi/id/product_name) == "Jupiter" ]]; then + if [[ $(cat /sys/devices/virtual/dmi/id/product_name) =~ ^(Jupiter|Galileo)$ ]]; then echo "true" else echo "false"