mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
Update Deck check to include Deck OLED
This commit is contained in:
parent
3b17ad55d9
commit
6bbf33a7c8
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue