Update Deck check to include Deck OLED

This commit is contained in:
icenine451 2024-03-11 08:41:25 -04:00
parent 3b17ad55d9
commit 6bbf33a7c8

View file

@ -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 # 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 # 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" echo "true"
else else
echo "false" echo "false"